2 instantiations of SentenceSimilarityTransformer
Microsoft.ML.TorchSharp (2)
NasBert\SentenceSimilarityTrainer.cs (2)
109return new SentenceSimilarityTransformer(host, options as NasBertOptions, model as ModelForPrediction, labelColumn); 254return new SentenceSimilarityTransformer(env, options, model, labelCol);
8 references to SentenceSimilarityTransformer
Microsoft.ML.TorchSharp (8)
NasBert\SentenceSimilarityTrainer.cs (8)
21[assembly: LoadableClass(typeof(SentenceSimilarityTransformer), null, typeof(SignatureLoadModel), 22SentenceSimilarityTransformer.UserName, SentenceSimilarityTransformer.LoaderSignature)] 24[assembly: LoadableClass(typeof(IRowMapper), typeof(SentenceSimilarityTransformer), null, typeof(SignatureLoadRowMapper), 25SentenceSimilarityTransformer.UserName, SentenceSimilarityTransformer.LoaderSignature)] 186loaderAssemblyName: typeof(SentenceSimilarityTransformer).Assembly.FullName); 217private static SentenceSimilarityTransformer Create(IHostEnvironment env, ModelLoadContext ctx)