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