1 write to SentenceColumn
Microsoft.ML.TorchSharp (1)
NasBert\NasBertTrainer.cs (1)
423
SentenceColumn
= new SchemaShape.Column(options.Sentence1ColumnName, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false);
9 references to SentenceColumn
Microsoft.ML.TorchSharp (9)
NasBert\NasBertTrainer.cs (5)
458
if (!inputSchema.TryFindColumn(
SentenceColumn
.Name, out var sentenceCol))
459
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence",
SentenceColumn
.Name);
460
if (!
SentenceColumn
.IsCompatibleWith(sentenceCol))
461
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence",
SentenceColumn
.Name,
462
SentenceColumn
.GetTypeString(), sentenceCol.GetTypeString());
NasBert\NerTrainer.cs (1)
419
getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn
.Name]);
NasBert\SentenceSimilarityTrainer.cs (1)
276
getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn
.Name]);
NasBert\TextClassificationTrainer.cs (2)
322
getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn
.Name]);
353
getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn
.Name]);