7 writes to Sentence1ColumnName
Microsoft.ML.TorchSharp (6)
NasBert\NerTrainer.cs (2)
94Sentence1ColumnName = sentence1ColumnName, 336options.Sentence1ColumnName = ctx.LoadString();
NasBert\SentenceSimilarityTrainer.cs (2)
89Sentence1ColumnName = sentence1ColumnName, 248options.Sentence1ColumnName = ctx.LoadString();
NasBert\TextClassificationTrainer.cs (2)
91Sentence1ColumnName = sentence1ColumnName, 272options.Sentence1ColumnName = ctx.LoadString();
Microsoft.ML.TorchSharp.Tests (1)
TextClassificationTests.cs (1)
437Sentence1ColumnName = "search_term",
10 references to Sentence1ColumnName
Microsoft.ML.TorchSharp (10)
NasBert\NasBertTrainer.cs (10)
172Contracts.AssertValue(BertOptions.Sentence1ColumnName); 219return input.GetRowCursor(input.Schema[Parent.BertOptions.Sentence1ColumnName], input.Schema[Parent.BertOptions.Sentence2ColumnName], input.Schema[Parent.Option.LabelColumnName]); 221return input.GetRowCursor(input.Schema[Parent.BertOptions.Sentence1ColumnName], input.Schema[Parent.Option.LabelColumnName]); 226Sentence1Getter = cursor.GetGetter<ReadOnlyMemory<char>>(input.Schema[Parent.BertOptions.Sentence1ColumnName]); 365if (!inputSchema.TryFindColumn(BertOptions.Sentence1ColumnName, out var sentenceCol)) 366throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", BertOptions.Sentence1ColumnName); 368throw Host.ExceptSchemaMismatch(nameof(inputSchema), "sentence", BertOptions.Sentence1ColumnName, 423SentenceColumn = new SchemaShape.Column(options.Sentence1ColumnName, SchemaShape.Column.VectorKind.Scalar, TextDataViewType.Instance, false); 485ctx.SaveNonEmptyString(BertOptions.Sentence1ColumnName); 507if (inputSchema.TryGetColumnIndex(Parent.BertOptions.Sentence1ColumnName, out var col))