ScalarTensorData

Trait ScalarTensorData 

Source
pub trait ScalarTensorData: RawTensorData<Elem = Self> { }
Expand description

A marker trait used to denote tensors that represent scalar values; more specifically, we consider any type implementing the RawTensorData type where the Elem associated type is the implementor itself a scalar value.

Implementors§

Source§

impl<T> ScalarTensorData for T
where T: RawTensorData<Elem = Self>,