Trait tc_tensor::TensorMath [−][src]
pub trait TensorMath<D: Dir, O> { type Combine: TensorInstance; fn add(self, other: O) -> TCResult<Self::Combine>; fn div(self, other: O) -> TCResult<Self::Combine>; fn mul(self, other: O) -> TCResult<Self::Combine>; fn sub(self, other: O) -> TCResult<Self::Combine>; }
Expand description
Tensor
math operations
Associated Types
type Combine: TensorInstance
type Combine: TensorInstance
The result type of a math operation