3 instantiations of ModelForPrediction
Microsoft.ML.TorchSharp (3)
4 references to ModelForPrediction
Microsoft.ML.TorchSharp (4)
NasBert\SentenceSimilarityTrainer.cs (3)
110return new SentenceSimilarityTransformer(host, options as NasBertOptions, model as ModelForPrediction, labelColumn);
190internal SentenceSimilarityTransformer(IHostEnvironment env, NasBertOptions options, ModelForPrediction model, DataViewSchema.DetachedColumn labelColumn) : base(env, options, model, labelColumn)
245var model = new ModelForPrediction(options, tokenizerModel.PadIndex, tokenizerModel.SymbolsCount, options.NumberOfClasses);