7 writes to Sentence1ColumnName
Microsoft.ML.TorchSharp (6)
NasBert\NerTrainer.cs (2)
94
Sentence1ColumnName
= sentence1ColumnName,
336
options.
Sentence1ColumnName
= ctx.LoadString();
NasBert\SentenceSimilarityTrainer.cs (2)
90
Sentence1ColumnName
= sentence1ColumnName,
249
options.
Sentence1ColumnName
= ctx.LoadString();
NasBert\TextClassificationTrainer.cs (2)
92
Sentence1ColumnName
= sentence1ColumnName,
273
options.
Sentence1ColumnName
= ctx.LoadString();
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
437
Sentence1ColumnName
= "search_term",
10 references to Sentence1ColumnName
Microsoft.ML.TorchSharp (10)
NasBert\NasBertTrainer.cs (10)
172
Contracts.AssertValue(BertOptions.
Sentence1ColumnName
);
219
return input.GetRowCursor(input.Schema[Parent.BertOptions.
Sentence1ColumnName
], input.Schema[Parent.BertOptions.Sentence2ColumnName], input.Schema[Parent.Option.LabelColumnName]);
221
return input.GetRowCursor(input.Schema[Parent.BertOptions.
Sentence1ColumnName
], input.Schema[Parent.Option.LabelColumnName]);
226
Sentence1Getter = cursor.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.BertOptions.
Sentence1ColumnName
]);
365
if (!inputSchema.TryFindColumn(BertOptions.
Sentence1ColumnName
, out var sentenceCol))
366
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", BertOptions.
Sentence1ColumnName
);
368
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", BertOptions.
Sentence1ColumnName
,
423
SentenceColumn = new SchemaShape.Column(options.
Sentence1ColumnName
, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false);
485
ctx.SaveNonEmptyString(BertOptions.
Sentence1ColumnName
);
507
if (inputSchema.TryGetColumnIndex(Parent.BertOptions.
Sentence1ColumnName
, out var col))