1 write to SentenceColumn2
Microsoft.ML.TorchSharp (1)
NasBert\NasBertTrainer.cs (1)
424
SentenceColumn2
= options.Sentence2ColumnName == default ? default : new SchemaShape.Column(options.Sentence2ColumnName, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false);
10 references to SentenceColumn2
Microsoft.ML.TorchSharp (10)
NasBert\NasBertTrainer.cs (5)
466
if (!inputSchema.TryFindColumn(
SentenceColumn2
.Name, out var sentenceCol2))
467
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2",
SentenceColumn2
.Name);
468
if (!
SentenceColumn2
.IsCompatibleWith(sentenceCol2))
469
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2",
SentenceColumn2
.Name,
470
SentenceColumn2
.GetTypeString(), sentenceCol2.GetTypeString());
NasBert\SentenceSimilarityTrainer.cs (1)
277
getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn2
.Name]);
NasBert\TextClassificationTrainer.cs (4)
323
if (Parent.
SentenceColumn2
.IsValid)
324
getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn2
.Name]);
354
if (Parent.
SentenceColumn2
.IsValid)
355
getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.
SentenceColumn2
.Name]);