Files
onnxruntime_go/test_data/example_float16.onnx
yalue 42f85c9f58 Add CustomDataTensor type
- This change introduces the CustomDataTensor type, which implements
   the ArbitraryTensor interface but, unlike the typed Tensor[T], is
   backed by an arbitrary slice of user-provided bytes. The user is
   responsible for providing the type of data the tensor is supposed to
   contain, as well as responsible for ensuring the data slice is in the
   correct format for the specified shape.

 - Added some test cases for the new CustomDataTensor type, which most
   notably will enable users to use float16 tensors (provided they
   converted the float16 array into bytes on their own).
2023-09-27 19:49:09 -04:00

275 B