oa::ml::nn::Prelu
Parametric ReLU: max(0, x) - slope * relu(-x) elementwise. num_slope_parameters is 1 for a shared slope or channels for the per-channel nn.PReLU form; channelwise slopes broadcast over the channel (second) axis of rank >= 2 inputs. The slope is a trainable Parameter registered as slope, initialized to 0.25 matching the PyTorch default.
Declaration
pub struct Prelu { /* private fields */ }Public Rust declaration.
Public Methods
Associated Functions
Public Method Documentation
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.
No public source comment is attached to this declaration.