53 references to GetValue
DnnAnalyzer (2)
DnnAnalyzer.cs (2)
42
schema[i].Annotations.
GetValue
("TensorflowOperatorType", ref opType);
47
schema[i].Annotations.
GetValue
("TensorflowUpstreamOperators", ref inputOps);
Microsoft.ML.Core (6)
Data\AnnotationUtils.cs (6)
232
schema[col].Annotations.
GetValue
(annotationKind, ref value);
254
schema[col].Annotations.
GetValue
(annotationKind, ref val);
273
schema[col].Annotations.
GetValue
(annotationKind, ref val);
307
schema.Schema[list[0].Index].Annotations.
GetValue
(Kinds.SlotNames, ref slotNames);
366
schema[col].Annotations.
GetValue
(kind, ref value);
392
schema[colIndex].Annotations.
GetValue
(Kinds.CategoricalSlotRanges, ref catIndices);
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
1636
binaryScored.Schema[scoreCol.Value.Index].Annotations.
GetValue
(AnnotationUtils.Kinds.ScoreColumnKind, ref kind);
1644
regressionScored.Schema[scoreCol.Value.Index].Annotations.
GetValue
(AnnotationUtils.Kinds.ScoreColumnKind, ref kind);
1652
anomalyScored.Schema[scoreCol.Value.Index].Annotations.
GetValue
(AnnotationUtils.Kinds.ScoreColumnKind, ref kind);
Microsoft.ML.Data (7)
Commands\ShowSchemaCommand.cs (2)
241
schema[col].Annotations.
GetValue
(kind, ref value);
278
schema[col].Annotations.
GetValue
(kind, ref value);
DataLoadSave\Binary\BinarySaver.cs (1)
361
schema[col].Annotations.
GetValue
(kind, ref value);
DataView\DataViewConstructionUtils.cs (1)
105
annotations.
GetValue
(kind, ref value);
Scorers\RowToRowScorerBase.cs (1)
466
Mapper.OutputSchema[iinfo - DerivedColumnCount].Annotations.
GetValue
(kind, ref value);
Transforms\ColumnBindingsBase.cs (1)
542
Input[index].Annotations.
GetValue
(kind, ref value);
Transforms\MetadataDispatcher.cs (1)
298
info.SchemaSrc[info.IndexSrc].Annotations.
GetValue
(kind, ref value);
Microsoft.ML.Samples (2)
Dynamic\Transforms\Conversion\Hash.cs (1)
80
transformedData.Schema["CategoryHashed"].Annotations.
GetValue
(
Dynamic\Transforms\Conversion\HashWithOptions.cs (1)
94
transformedData.Schema["CategoryHashed"].Annotations.
GetValue
(
Microsoft.ML.TensorFlow.Tests (7)
TensorflowTests.cs (7)
575
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType);
586
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType);
591
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps);
601
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType);
605
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps);
616
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowOperatorTypeKind, ref opType);
620
schema[col].Annotations.
GetValue
(TensorFlowUtils.TensorflowUpstreamOperatorsKind, ref inputOps);
Microsoft.ML.TestFrameworkCommon (3)
TestCommon.cs (3)
262
sch1[col].Annotations.
GetValue
(kind, ref names1);
263
sch2[col].Annotations.
GetValue
(kind, ref names2);
273
sch[col].Annotations.
GetValue
(kind, ref names);
Microsoft.ML.Tests (22)
FakeSchemaTest.cs (1)
53
metaC.
GetValue
("M", ref mValue);
Scenarios\Api\Estimators\PredictAndMetadata.cs (1)
47
engine.OutputSchema[nameof(IrisPrediction.Score)].Annotations.
GetValue
(AnnotationUtils.Kinds.TrainingLabelValues, ref originalLabels);
Scenarios\Api\TestApi.cs (6)
243
idv.Schema[0].Annotations.
GetValue
(kindFloat, ref retrievedFloat);
247
idv.Schema[0].Annotations.
GetValue
(kindString, ref retrievedReadOnlyMemory);
251
idv.Schema[1].Annotations.
GetValue
(kindStringArray, ref retrievedReadOnlyMemoryVBuffer);
255
idv.Schema[1].Annotations.
GetValue
(kindFloatArray, ref retrievedFloatVBuffer);
260
idv.Schema[1].Annotations.
GetValue
(kindVBuffer, ref retrievedVBuffer);
263
Assert.Throws<InvalidOperationException>(() => idv.Schema[1].Annotations.
GetValue
(kindFloat, ref retrievedReadOnlyMemoryVBuffer));
TrainerEstimators\TreeEnsembleFeaturizerTest.cs (5)
68
treeValuesColumn.Annotations.
GetValue
(AnnotationUtils.Kinds.SlotNames, ref slotNames);
87
treeLeafIdsColumn.Annotations.
GetValue
(AnnotationUtils.Kinds.IsNormalized, ref leafIdsNormalizedFlag);
91
treeLeafIdsColumn.Annotations.
GetValue
(AnnotationUtils.Kinds.SlotNames, ref leafIdsSlotNames);
110
treePathIdsColumn.Annotations.
GetValue
(AnnotationUtils.Kinds.IsNormalized, ref pathIdsNormalizedFlag);
114
treePathIdsColumn.Annotations.
GetValue
(AnnotationUtils.Kinds.SlotNames, ref pathIdsSlotNames);
Transformers\CategoricalHashTests.cs (2)
175
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
185
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Transformers\CategoricalTests.cs (2)
251
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
261
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Transformers\ConvertTests.cs (1)
296
output.Schema["CatA"].Annotations.
GetValue
(AnnotationUtils.Kinds.KeyValues, ref slotNames);
Transformers\KeyToVectorEstimatorTests.cs (4)
146
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
156
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
170
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
190
column.Annotations.
GetValue
(AnnotationUtils.Kinds.CategoricalSlotRanges, ref slotRanges);
Microsoft.ML.Transforms (1)
PermutationFeatureImportanceExtensions.cs (1)
705
data.Schema[featureColumnName].Annotations.
GetValue
("SlotNames", ref nameBuffer);