Dropout
class Dropout<T : DType, V>(val p: Float = 0.5f, var training: Boolean = true, val name: String = "Dropout") : Module<T, V> (source)
Dropout layer that is aware of ExecutionContext phases.
Current implementation keeps identity semantics on both TRAIN and EVAL phases, but exposes a context-aware forward that can later be extended to apply stochastic masking when ctx.inTraining is true.