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)
277getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn.Name]);
NasBert\TextClassificationTrainer.cs (2)
323getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn.Name]); 354getSentence1 = input.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.SentenceColumn.Name]);