Trait tc_tensor::TensorAccess
source · [−]pub trait TensorAccess {
fn dtype(&self) -> NumberType;
fn ndim(&self) -> usize;
fn shape(&self) -> &Shape;
fn size(&self) -> u64;
}
Expand description
Basic properties common to all Tensor
s