fn
alpha_dropout_op
→TensorImplPtrint alpha_dropout_op(const int & a, double p, bool training, Generator * gen)Python wrappers
Public Python APIs implemented by this engine symbol.SELU-preserving alpha dropout — free-function entry point.
Thin wrapper that delegates to AlphaDropoutBackward::forward.
Parameters
aTensorImplPtrInput tensor (typically the output of a SELU activation).
pdoubleDrop probability in .
trainingboolIf
false, the forward is a pass-through.genGenerator*Optional RNG;
nullptr selects default_generator().Returns
TensorImplPtrOutput tensor of the same shape as a.