1 write to Options
Microsoft.ML.TorchSharp (1)
TorchSharpBaseTrainer.cs (1)
393
Options
= options;
15 references to Options
Microsoft.ML.TorchSharp (15)
NasBert\NasBertTrainer.cs (9)
440
outColumns[
Options
.PredictionColumnName] = new SchemaShape.Column(
Options
.PredictionColumnName, SchemaShape.Column.VectorKind.Scalar,
534
info[0] = new DataViewSchema.DetachedColumn(Parent.
Options
.PredictionColumnName, new KeyDataViewType(typeof(uint), Parent.
Options
.NumberOfClasses), labelBuilder.ToAnnotations());
536
info[1] = new DataViewSchema.DetachedColumn(Parent.
Options
.ScoreColumnName, new VectorDataViewType(NumberDataViewType.Single, Parent.
Options
.NumberOfClasses), meta.ToAnnotations());
548
info[0] = new DataViewSchema.DetachedColumn(Parent.
Options
.PredictionColumnName, new VectorDataViewType(new KeyDataViewType(typeof(uint), Parent.
Options
.NumberOfClasses - 1)), labelBuilder.ToAnnotations());
556
info[0] = new DataViewSchema.DetachedColumn(Parent.
Options
.ScoreColumnName, NumberDataViewType.Single);
NasBert\TextClassificationTrainer.cs (1)
332
var editor = VBufferEditor.Create(ref dst, Parent.
Options
.NumberOfClasses);
TorchSharpBaseTrainer.cs (5)
395
ScoreColumnName =
Options
.ScoreColumnName;
428
ctx.SaveNonEmptyString(
Options
.LabelColumnName);
429
ctx.SaveStringOrNull(
Options
.ScoreColumnName);
430
ctx.SaveNonEmptyString(
Options
.PredictionColumnName);
431
ctx.Writer.Write(
Options
.NumberOfClasses);