TensorOps

Trait TensorOps 

Source
pub trait TensorOps<T>:
    TensorMatmul<T>
    + TensorMatmulT<T>
    + TensorAdd<T>
    + TensorMul<T>
    + TensorNormalize<T>
    + TensorSelect<T>
    + TensorGelu<T>
    + TensorTanh<T>
    + TensorSoftmax<T> { }
Expand description

All common tensor operations

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> TensorOps<Tensor<'a>> for Tensor<'a>