Trait border_tch_agent::ZeroTensor
source · pub trait ZeroTensor {
// Required method
fn zeros(shape: &[i64]) -> Tensor;
}Expand description
Adds capability of constructing Tensor with a static method.
pub trait ZeroTensor {
// Required method
fn zeros(shape: &[i64]) -> Tensor;
}Adds capability of constructing Tensor with a static method.