Trait ElemwiseTensorOp

Source
pub trait ElemwiseTensorOp {
    type TensorType;
    type ElementType;

Show 31 methods // Required methods fn abs(&self) -> Self::TensorType; fn acos(&self) -> Self::TensorType; fn asin(&self) -> Self::TensorType; fn atan(&self) -> Self::TensorType; fn ceil(&self) -> Self::TensorType; fn clamp( &self, min: Self::ElementType, max: Self::ElementType, ) -> Self::TensorType; fn cos(&self) -> Self::TensorType; fn cosh(&self) -> Self::TensorType; fn exp(&self) -> Self::TensorType; fn expm1(&self) -> Self::TensorType; fn floor(&self) -> Self::TensorType; fn frac(&self) -> Self::TensorType; fn log(&self) -> Self::TensorType; fn log10(&self) -> Self::TensorType; fn log1p(&self) -> Self::TensorType; fn log1pexp(&self) -> Self::TensorType; fn log2(&self) -> Self::TensorType; fn neg(&self) -> Self::TensorType; fn pow(&self, n: Self::ElementType) -> Self::TensorType; fn reciprocal(&self) -> Self::TensorType; fn round(&self) -> Self::TensorType; fn rsqrt(&self) -> Self::TensorType; fn sigmoid(&self) -> Self::TensorType; fn sign(&self) -> Self::TensorType; fn sin(&self) -> Self::TensorType; fn sinh(&self) -> Self::TensorType; fn sqrt(&self) -> Self::TensorType; fn square(&self) -> Self::TensorType; fn tan(&self) -> Self::TensorType; fn tanh(&self) -> Self::TensorType; fn trunc(&self) -> Self::TensorType;
}

Required Associated Types§

Required Methods§

Source

fn abs(&self) -> Self::TensorType

Source

fn acos(&self) -> Self::TensorType

Source

fn asin(&self) -> Self::TensorType

Source

fn atan(&self) -> Self::TensorType

Source

fn ceil(&self) -> Self::TensorType

Source

fn clamp( &self, min: Self::ElementType, max: Self::ElementType, ) -> Self::TensorType

Source

fn cos(&self) -> Self::TensorType

Source

fn cosh(&self) -> Self::TensorType

Source

fn exp(&self) -> Self::TensorType

Source

fn expm1(&self) -> Self::TensorType

Source

fn floor(&self) -> Self::TensorType

Source

fn frac(&self) -> Self::TensorType

Source

fn log(&self) -> Self::TensorType

Source

fn log10(&self) -> Self::TensorType

Source

fn log1p(&self) -> Self::TensorType

Source

fn log1pexp(&self) -> Self::TensorType

Source

fn log2(&self) -> Self::TensorType

Source

fn neg(&self) -> Self::TensorType

Source

fn pow(&self, n: Self::ElementType) -> Self::TensorType

Source

fn reciprocal(&self) -> Self::TensorType

Source

fn round(&self) -> Self::TensorType

Source

fn rsqrt(&self) -> Self::TensorType

Source

fn sigmoid(&self) -> Self::TensorType

Source

fn sign(&self) -> Self::TensorType

Source

fn sin(&self) -> Self::TensorType

Source

fn sinh(&self) -> Self::TensorType

Source

fn sqrt(&self) -> Self::TensorType

Source

fn square(&self) -> Self::TensorType

Source

fn tan(&self) -> Self::TensorType

Source

fn tanh(&self) -> Self::TensorType

Source

fn trunc(&self) -> Self::TensorType

Implementors§