
Contents
More
Default backend based ononnx_array_api.reference.ExtendedReferenceEvaluator().
input_names – input names
onx – onnx model
Wraps classonnx_array_api.reference.ExtendedReferenceEvaluatorto have a signature closer to python function.
tensor_class – class tensor such asNumpyTensor
input_names – input names
onx – onnx model
f – unused except in error messages
Executes the function.
inputs – function inputs
outputs
Creates a python function calling the onnx backendused by this class.
onx – onnx model
python function
Returns the dimensions of the tensor.First dimension is the batch dimension if the tensorhas more than one dimension. It is always left undefined.
Updates the IR version.This method should be overloaded.By default, it returns ir_version.
Updates the opsets for a given backend.This method should be overloaded.By default, it returns opsets.
Returns the number of dimensions (rank).
Returns the tensor type of this tensor.
Returns the tensor type of this tensor.This property is used to define a key used to cache a jitted function.Same keys keys means same ONNX graph.Different keys usually means same ONNX graph but differentinput shapes.
name – name of the constraint