21 references to GetGetter
Microsoft.ML.Core (1)
Data\AnnotationUtils.cs (1)
479
public override ValueGetter<TValue> GetGetter<TValue>(DataViewSchema.Column column) => _annotations.
GetGetter
<TValue>(column);
Microsoft.ML.Core.Tests (5)
UnitTests\ScoreSchemaTest.cs (5)
73
var keyNamesGetter = scoreMetadata.
GetGetter
<VBuffer<ReadOnlyMemory<char>>>(scoreMetadata.Schema[0]);
79
var scoreColumnKindGetter = scoreMetadata.
GetGetter
<ReadOnlyMemory<char>>(scoreMetadata.Schema[1]);
84
var scoreValueKindGetter = scoreMetadata.
GetGetter
<ReadOnlyMemory<char>>(scoreMetadata.Schema[2]);
126
var scoreColumnKindGetter = scoreMetadata.
GetGetter
<ReadOnlyMemory<char>>(scoreMetadata.Schema[0]);
131
var scoreValueKindGetter = scoreMetadata.
GetGetter
<ReadOnlyMemory<char>>(scoreMetadata.Schema[1]);
Microsoft.ML.Data (6)
Prediction\CalibratorCatalog.cs (3)
294
builder.Add(setIdCol.Name, setIdType, annotation.
GetGetter
<uint>(setIdCol));
301
builder.Add(kindCol.Name, kindCol.Type, annotation.
GetGetter
<ReadOnlyMemory<char>>(kindCol));
302
builder.Add(valueKindCol.Name, valueKindCol.Type, annotation.
GetGetter
<ReadOnlyMemory<char>>(valueKindCol));
Scorers\PredictedLabelScorerBase.cs (2)
83
builder.Add(AnnotationUtils.Kinds.KeyValues, metaCol.Type, meta.
GetGetter
<T>(metaCol));
233
_predColMetadata.
GetGetter
<TValue>(mcol.Value)(ref value);
Transforms\KeyToVector.cs (1)
326
var getter = inputMetadata.
GetGetter
<VBuffer<ReadOnlyMemory<char>>>(keyValuesColumn.Value);
Microsoft.ML.DataView (2)
DataViewSchema.cs (1)
242
GetGetter
<TValue>(column.Value)(ref value);
SchemaDebuggerProxy.cs (1)
54
annotations.
GetGetter
<T>(column)(ref value);
Microsoft.ML.Tests (1)
Transformers\ValueMappingTests.cs (1)
574
var allowedKeyValueGetter = annotations.
GetGetter
<VBuffer<ReadOnlyMemory<char>>>(annotations.Schema["KeyValues"]);
Microsoft.ML.TorchSharp (6)
AutoFormerV2\ObjectDetectionTrainer.cs (2)
636
ValueGetter<VBuffer<T>> getter = LabelColumn.Annotations.
GetGetter
<VBuffer<T>>(LabelColumn.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
778
return labelCol.Annotations.
GetGetter
<VBuffer<T>>(labelCol.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
NasBert\NasBertTrainer.cs (1)
563
return labelCol.Annotations.
GetGetter
<VBuffer<T>>(labelCol.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
NasBert\NerTrainer.cs (1)
287
ValueGetter<VBuffer<T>> getter = LabelColumn.Annotations.
GetGetter
<VBuffer<T>>(LabelColumn.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
NasBert\TextClassificationTrainer.cs (1)
224
ValueGetter<VBuffer<T>> getter = LabelColumn.Annotations.
GetGetter
<VBuffer<T>>(LabelColumn.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
TorchSharpBaseTrainer.cs (1)
452
return labelCol.Annotations.
GetGetter
<VBuffer<T>>(labelCol.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);