Trait neuronika::Eval [−][src]
Expand description
Eval mode behavior.
This trait is implemented by all the variables and all the components that admit multiple behaviors during training and evaluation.
It provides two methods, namely .train()
and .eval()
, that are used respectively to set
the entity in training mode and in evaluation mode.