rust
rust copied to clipboard
Add a SparseTensor type
This would be a simple wrapper around indices, values, and shape, analogous to tf.SparseTensorValue. This should probably start with just plain Tensor<T> as the type for indices and values, and we can add a sparse tensor trait and support for borrowed or reference counted tensors later, if necessary.