1 write to _settings
Microsoft.ML.CodeGenerator (1)
CodeGenerator\CSharp\CodeGenerator.cs (1)
40_settings = settings;
36 references to _settings
Microsoft.ML.CodeGenerator (36)
CodeGenerator\CSharp\CodeGenerator.cs (36)
59var namespaceValue = Utils.Normalize(_settings.OutputName); 60var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name == _settings.LabelName).First().DataKind; 69var modelprojectDir = Path.Combine(_settings.OutputBaseDir, $"{_settings.OutputName}.Model"); 71var modelProjectName = $"{_settings.OutputName}.Model.csproj"; 84var consoleAppProjectDir = Path.Combine(_settings.OutputBaseDir, $"{_settings.OutputName}.ConsoleApp"); 85var consoleAppProjectName = $"{_settings.OutputName}.ConsoleApp.csproj"; 92Utils.CreateSolutionFile(_settings.OutputName, _settings.OutputBaseDir); 95var solutionPath = Path.Combine(_settings.OutputBaseDir, $"{_settings.OutputName}.sln"); 147var predictProjectFileContent = GeneratPredictProjectFileContent(_settings.OutputName, 150_settings.StablePackageVersion, _settings.UnstablePackageVersion, _settings.Target); 182_settings.StablePackageVersion, _settings.UnstablePackageVersion, _settings.Target); 192Target = _settings.Target, 193MLNetModelName = _settings.ModelName, 288OnnxRuntimePackageVersion = _settings.OnnxRuntimePackageVersion, 299TaskType = _settings.MlTask.ToString(), 302Target = _settings.Target, 313Target = _settings.Target, 339OnnxRuntimePackageVersion = _settings.OnnxRuntimePackageVersion, 347var sampleData = Utils.GenerateSampleData(_settings.TrainDataset, _columnInferenceResult); 350TaskType = _settings.MlTask.ToString(), 351LabelName = _settings.LabelName, 357Target = _settings.Target, 382Path = _settings.TrainDataset, 383TestPath = _settings.TestDataset, 384TaskType = _settings.MlTask.ToString(), 386LabelName = _settings.LabelName, 388Target = _settings.Target, 390MLNetModelName = _settings.ModelName,