ariadnetor-tensor 0.0.4

Tensor library with support for dense and block-sparse tensors
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

/// Errors raised by tensor construction and manipulation.
#[derive(Debug, Error)]
pub enum TensorError {
    /// An argument violated a precondition of the called operation; the
    /// payload describes which argument and why.
    #[error("Invalid argument: {0}")]
    InvalidArgument(String),
}