1 write to LabelColumn
Microsoft.ML.TorchSharp (1)
TorchSharpBaseTrainer.cs (1)
394
LabelColumn
= labelColumn;
13 references to LabelColumn
Microsoft.ML.TorchSharp (13)
NasBert\NasBertTrainer.cs (5)
436
var labelAnnotationsColumn = new SchemaShape.Column(AnnotationUtils.Kinds.SlotNames, SchemaShape.Column.VectorKind.Vector,
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.SlotNames].Type, false);
520
var keyType = Parent.
LabelColumn
.Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.KeyValues)?.Type as VectorDataViewType;
521
var getter = Microsoft.ML.Internal.Utilities.Utils.MarshalInvoke(_makeLabelAnnotationGetter, this, keyType.ItemType.RawType, Parent.
LabelColumn
);
542
var keyType = Parent.
LabelColumn
.Annotations.Schema.GetColumnOrNull(AnnotationUtils.Kinds.KeyValues)?.Type as VectorDataViewType;
543
var getter = Microsoft.ML.Internal.Utilities.Utils.MarshalInvoke(_makeLabelAnnotationGetter, this, keyType.ItemType.RawType, Parent.
LabelColumn
);
NasBert\NerTrainer.cs (4)
281
var labelColType =
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues].Type as VectorDataViewType;
287
ValueGetter<VBuffer<T>> getter =
LabelColumn
.Annotations.GetGetter<VBuffer<T>>(
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
293
var labelColType =
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues].Type as VectorDataViewType;
NasBert\TextClassificationTrainer.cs (4)
217
var labelColType =
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues].Type as VectorDataViewType;
223
ValueGetter<VBuffer<T>> getter =
LabelColumn
.Annotations.GetGetter<VBuffer<T>>(
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues]);
229
var labelColType =
LabelColumn
.Annotations.Schema[AnnotationUtils.Kinds.KeyValues].Type as VectorDataViewType;