12 references to ApplyOnnxModel
Microsoft.ML.IntegrationTests (3)
ONNX.cs (3)
60
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(modelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
106
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(modelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
158
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(modelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
Microsoft.ML.OnnxTransformerTest (2)
OnnxTransformTests.cs (2)
536
var pipeline = ML.Transforms.
ApplyOnnxModel
(modelFile, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
562
var pipeline = ML.Transforms.
ApplyOnnxModel
(modelFile, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
Microsoft.ML.Samples (2)
Dynamic\ModelOperations\OnnxConversion.cs (1)
84
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(onnxModelPath);
Dynamic\Transforms\ApplyOnnxModel.cs (1)
28
var pipeline = mlContext.Transforms.
ApplyOnnxModel
(modelPath);
Microsoft.ML.Tests (5)
OnnxConversionTest.cs (5)
826
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(onnxModelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
988
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(onnxModelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
1515
var onnxEstimator = mlContext.Transforms.
ApplyOnnxModel
(onnxFilePath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);
1743
var pipeline = mlContext.Transforms.
ApplyOnnxModel
(onnxModelPath);
2254
var onnxEstimator = ML.Transforms.
ApplyOnnxModel
(onnxModelPath, gpuDeviceId: _gpuDeviceId, fallbackToCpu: _fallbackToCpu);