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