Uses of Interface
org.tribuo.interop.onnx.ExampleTransformer
Package
Description
This package contains a Tribuo wrapper around the ONNX Runtime.
-
Uses of ExampleTransformer in org.tribuo.interop.onnx
Modifier and TypeClassDescriptionclass
Converts a sparse Tribuo example into a dense float vector, then wraps it in anOnnxTensor
.class
Image transformer.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.