1 write to SentenceColumn2
Microsoft.ML.TorchSharp (1)
NasBert\NasBertTrainer.cs (1)
424SentenceColumn2 = 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)
466if (!inputSchema.TryFindColumn(SentenceColumn2.Name, out var sentenceCol2)) 467throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name); 468if (!SentenceColumn2.IsCompatibleWith(sentenceCol2)) 469throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence2", SentenceColumn2.Name, 470SentenceColumn2.GetTypeString(), sentenceCol2.GetTypeString());
NasBert\SentenceSimilarityTrainer.cs (1)
277getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn2.Name]);
NasBert\TextClassificationTrainer.cs (4)
323if (Parent.SentenceColumn2.IsValid) 324getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn2.Name]); 354if (Parent.SentenceColumn2.IsValid) 355getSentence2 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn2.Name]);