Trait microtensor::ops::RealOps

source ·
pub trait RealOps<I: Real>: Neg {
    // Required methods
    fn pow(&self, rhs: &Self) -> Self;
    fn sin(&self) -> Self;
    fn cos(&self) -> Self;
    fn log(&self) -> Self;
    fn relu(&self) -> Self;
    fn sigmoid(&self) -> Self;
}
Expand description

Differentiable mid-level operations.

Required Methods§

source

fn pow(&self, rhs: &Self) -> Self

source

fn sin(&self) -> Self

source

fn cos(&self) -> Self

source

fn log(&self) -> Self

source

fn relu(&self) -> Self

source

fn sigmoid(&self) -> Self

Implementors§

source§

impl<T: Real> RealOps<T> for Tensor<T>

source§

impl<T: Real> RealOps<T> for Variable<T>