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