Files
ort/examples/cudarc
Carson M. 9ea18d815b refactor!: allow zero-copy from_array for array views with TensorRef
This has all sorts of fun breaking changes:
- `ort::inputs!` no longer yields an `ort::Result<...>` (thank God)
- `Tensor::from_array` now only accepts owned data.
- Introduce `TensorRef::from_array_view` and `TensorRefMut::from_array_view_mut`.
- `TryFrom<A>` is no longer implemented for `Tensor<T>` for any variants.

This opens the door to new optimizations on top of fixing a few unsoundness issues.

TODO: update docs
2024-12-21 00:24:54 -06:00
..
2024-08-04 12:24:48 -05:00