6 instantiations of OnnxTransformer
Microsoft.ML.OnnxTransformer (6)
OnnxTransform.cs (6)
152return new OnnxTransformer(env, options).MakeDataTransform(input); 228return new OnnxTransformer(env, options, modelBytes); 976: this(env, new OnnxTransformer(env, new string[] { }, new string[] { }, modelFile, gpuDeviceId, fallbackToCpu, shapeDictionary, recursionLimit)) 994: this(env, new OnnxTransformer(env, new string[] { }, new string[] { }, modelBytes, gpuDeviceId, fallbackToCpu, shapeDictionary, recursionLimit)) 1015: this(env, new OnnxTransformer(env, outputColumnNames, inputColumnNames, modelFile, gpuDeviceId, fallbackToCpu, shapeDictionary, recursionLimit, interOpNumThreads, intraOpNumThreads)) 1041: this(env, new OnnxTransformer(env, outputColumnNames, inputColumnNames, modelBytes, gpuDeviceId, fallbackToCpu, shapeDictionary, recursionLimit, interOpNumThreads, intraOpNumThreads))
52 references to OnnxTransformer
Microsoft.ML.IntegrationTests (3)
ONNX.cs (3)
61var onnxModel = onnxEstimator.Fit(data); 107var onnxModel = onnxEstimator.Fit(data); 159var onnxModel = onnxEstimator.Fit(data);
Microsoft.ML.OnnxTransformer (26)
OnnxTransform.cs (24)
21[assembly: LoadableClass(OnnxTransformer.Summary, typeof(IDataTransform), typeof(OnnxTransformer), 22typeof(OnnxTransformer.Options), typeof(SignatureDataTransform), OnnxTransformer.UserName, OnnxTransformer.ShortName, "OnnxTransform", "OnnxScorer")] 24[assembly: LoadableClass(OnnxTransformer.Summary, typeof(IDataTransform), typeof(OnnxTransformer), 25null, typeof(SignatureLoadDataTransform), OnnxTransformer.UserName, OnnxTransformer.LoaderSignature)] 27[assembly: LoadableClass(typeof(OnnxTransformer), null, typeof(SignatureLoadModel), 28OnnxTransformer.UserName, OnnxTransformer.LoaderSignature)] 30[assembly: LoadableClass(typeof(IRowMapper), typeof(OnnxTransformer), null, typeof(SignatureLoadRowMapper), 31OnnxTransformer.UserName, OnnxTransformer.LoaderSignature)] 33[assembly: EntryPointModule(typeof(OnnxTransformer))] 146loaderAssemblyName: typeof(OnnxTransformer).Assembly.FullName); 160private static OnnxTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 236base(Contracts.CheckRef(env, nameof(env)).Register(nameof(OnnxTransformer))) 491private readonly OnnxTransformer _parent; 506public Mapper(OnnxTransformer parent, DataViewSchema inputSchema) : 960public sealed class OnnxScoringEstimator : TrivialEstimator<OnnxTransformer> 1019internal OnnxScoringEstimator(IHostEnvironment env, OnnxTransformer transformer) 1020: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(OnnxTransformer)), transformer)
OnnxUtils.cs (2)
152/// For example, ML.NET can shuffle the inputs so that the i-th ONNX input becomes the j-th input column of <see cref="OnnxTransformer"/>. 153/// ML.NET can also only exposes a subset of ONNX outputs in <see cref="OnnxTransformer"/>.
Microsoft.ML.OnnxTransformerTest (12)
OnnxTransformTests.cs (12)
169var onnxTransformer = pipe.Fit(invalidDataWrongVectorSize); 197var transformer = est.Fit(dataView); 370var onnxTransformer = pipeline.Fit(dataView); 409var onnxTransformer = pipeline.Fit(dataView); 437var onnxTransformer = pipeline.Fit(dataView); 477var onnxTransformer = pipeline.Fit(dataView); 537var onnxTransformer = pipeline.Fit(idv); 563var onnxTransformer = pipeline.Fit(idv); 695var onnxTransformer = pipeline.Fit(dataView); 748var onnxTransformer = pipeline.Fit(dataView); 903var onnxTransformer = new OnnxTransformer[3]; 1075var model = pipeline.Fit(dataView);
Microsoft.ML.Samples (1)
Dynamic\ModelOperations\OnnxConversion.cs (1)
86using var onnxTransformer = onnxEstimator.Fit(trainTestOriginalData.TrainSet);
Microsoft.ML.Tests (10)
OnnxConversionTest.cs (8)
827var onnxTransformer = onnxEstimator.Fit(data); 989var onnxTransformer = onnxEstimator.Fit(dataView); 1516var onnxTransformer = onnxEstimator.Fit(dataView); 1633var onnxTransformer = onnxEstimator.Fit(dataView); 1744var loadedModel = pipeline.Fit(dataView); 1807var onnxTransformer = onnxEstimator.Fit(reloadedData); 1820var onnxTransformer2 = onnxEstimator2.Fit(originalData); 2255var onnxTransformer = onnxEstimator.Fit(dataView);
OnnxSequenceTypeWithAttributesTest.cs (2)
52var model = pipeline.Fit(dataView); 91var model = pipeline.Fit(dataView);