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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".