yobx.xtracing.numpy_array#

Proxy class for tracing numpy operations and converting them to ONNX.

Each NumpyArray wraps an ONNX tensor name inside a GraphBuilder. Arithmetic operators, numpy ufuncs and numpy array-functions performed on a NumpyArray are recorded as ONNX nodes in the underlying graph so that the resulting computation graph can later be exported to an ONNX model.