1 write to _settings
Microsoft.ML.CodeGenerator (1)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (1)
40
_settings
= options;
24 references to _settings
Microsoft.ML.CodeGenerator (24)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachModelCodeGenerator.cs (24)
43
Name = $"{
_settings
.OutputName}.Model";
50
ClassLabels = Utilities.Utils.GenerateClassLabels(_columnInferenceResult,
_settings
.OnnxInputMapping),
51
Target =
_settings
.Target
56
var labelType = _columnInferenceResult.TextLoaderOptions.Columns.Where(t => t.Name ==
_settings
.LabelName).First().DataKind;
64
Target =
_settings
.Target,
65
Labels =
_settings
.ClassificationLabel,
75
Target =
_settings
.Target,
76
Labels =
_settings
.ObjectLabel,
87
IncludeImageTransformerPackage =
_settings
.IsImage,
91
IncludeOnnxRuntime =
_settings
.IsObjectDetection,
93
StablePackageVersion =
_settings
.StablePackageVersion,
94
UnstablePackageVersion =
_settings
.UnstablePackageVersion,
95
OnnxRuntimePackageVersion =
_settings
.OnnxRuntimePackageVersion,
96
Target =
_settings
.Target,
98
Name = $"{
_settings
.OutputName}.Model.csproj",
106
Target =
_settings
.Target,
107
MLNetModelName =
_settings
.ModelName,
108
OnnxModelName =
_settings
.OnnxModelName,
109
IsAzureImage =
_settings
.IsAzureAttach &&
_settings
.IsImage,
110
IsAzureObjectDetection =
_settings
.IsObjectDetection &&
_settings
.IsAzureAttach,
119
if (
_settings
.IsImage)
129
else if (
_settings
.IsObjectDetection)