Trait tc_tensor::TensorMathConst [−][src]
pub trait TensorMathConst {
type Combine: TensorInstance;
fn add_const(self, other: Number) -> TCResult<Self::Combine>;
fn div_const(self, other: Number) -> TCResult<Self::Combine>;
fn mul_const(self, other: Number) -> TCResult<Self::Combine>;
fn pow_const(self, other: Number) -> TCResult<Self::Combine>;
fn sub_const(self, other: Number) -> TCResult<Self::Combine>;
}
Expand description
Tensor
constant math operations
Associated Types
type Combine: TensorInstance
type Combine: TensorInstance
The result type of a math operation