Uses of Class
org.tribuo.interop.onnx.ONNXExternalModel
Package
Description
This package contains a Tribuo wrapper around the ONNX Runtime.
-
Uses of ONNXExternalModel in org.tribuo.interop.onnx
Modifier and TypeMethodDescriptionstatic <T extends Output<T>>
ONNXExternalModel<T>ONNXExternalModel.createOnnxModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, ExampleTransformer featureTransformer, OutputTransformer<T> outputTransformer, ai.onnxruntime.OrtSession.SessionOptions opts, String filename, String inputName) Creates anONNXExternalModel
by loading the model from disk.static <T extends Output<T>>
ONNXExternalModel<T>ONNXExternalModel.createOnnxModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, ExampleTransformer featureTransformer, OutputTransformer<T> outputTransformer, ai.onnxruntime.OrtSession.SessionOptions opts, Path path, String inputName) Creates anONNXExternalModel
by loading the model from disk.