pub trait ZeroTensor {
    fn zeros(shape: &[i64]) -> Tensor;
}
Expand description

Adds capability of constructing Tensor with a static method.

Required methods

Constructs zero tensor.

Implementations on Foreign Types

Implementors