Skip to main content

EagerTensor

Trait EagerTensor 

pub trait EagerTensor { }
Expand description

Marker trait for eager (non-symbolic) tensors.

Implement this on any tensor type that computes eagerly. The generic Layer<T> impls (Relu, Linear, Softmax, …) are gated on this marker so that the specific Layer<SymTensor> impls in nn::graph don’t conflict.

Implementors§