Interfaces and utilities for writing
ONNX models from Java.
-
-
ONNXContext.array(String baseName,
double[] parameters)
Creates a float tensor for this ONNXContext, populated according to parameters.
ONNXContext.array(String baseName,
double[] parameters,
boolean downcast)
Creates a tensor for this ONNXContext, populated according to parameters.
Creates a float tensor for this ONNXContext, populated according to parameters.
Creates an int tensor for this ONNXContext, populated according to parameters.
Creates a long tensor for this ONNXContext, populated according to parameters.
Creates a float scalar constant for this ONNXContext.
Creates a long scalar constant for this ONNXContext.