1 write to AnswerIndexStartColumnName
Microsoft.ML.TorchSharp (1)
Roberta\QATrainer.cs (1)
133AnswerIndexStartColumnName = answerIndexColumnName,
7 references to AnswerIndexStartColumnName
Microsoft.ML.TorchSharp (7)
Roberta\QATrainer.cs (7)
109Contracts.AssertValue(options.AnswerIndexStartColumnName); 232var labelCol = input.GetColumn<int>(Parent.Option.AnswerIndexStartColumnName); 272DataViewRowCursor cursor = input.GetRowCursor(input.Schema[Parent.Option.ContextColumnName], input.Schema[Parent.Option.QuestionColumnName], input.Schema[Parent.Option.TrainingAnswerColumnName], input.Schema[Parent.Option.AnswerIndexStartColumnName]); 277var answerIndexGetter = cursor.GetGetter<int>(input.Schema[Parent.Option.AnswerIndexStartColumnName]); 549if (!inputSchema.TryFindColumn(Option.AnswerIndexStartColumnName, out var answerIndexCol)) 550throw Host.ExceptSchemaMismatch(nameof(inputSchema), "AnswerIndex", Option.AnswerIndexStartColumnName); 552throw Host.ExceptSchemaMismatch(nameof(inputSchema), "AnswerIndex", Option.AnswerIndexStartColumnName,