npx_tensors#

EagerTensor#

class onnx_array_api.npx.npx_tensors.EagerTensor[source]#

Defines a value for a specific eager mode. An eager tensor must overwrite every call to a method listed in class BaseArrayApi.

generic_method(method_name, *args: Any, **kwargs: Any) Any[source]#

The method converts the method into an ONNX graph build by the corresponding method in class Var.