Skip to main content

Module activation

Module activation 

Source
Expand description

Activation, dropout, and LRN requests for the cuDNN actor.

Activation set: Relu, Sigmoid, Tanh (existing) plus Gelu, GeluApprox, Swish, Elu, Softplus, Identity. cuDNN routes these through pointwise descriptor ops in the v9 frontend graph.

Structs§

ActivationFwdRequest
Activation forward request. dims are the raw tensor dims.
DropoutFwdRequest
Dropout forward request: produces y = x * mask / (1 - p) and records the mask state for backward.
LrnFwdRequest
LRN forward request.
LrnParams
Local-response-normalisation parameters.
SoftmaxFwdRequest
Softmax forward request.

Enums§

ActivationKind
Activation function tag.
SoftmaxMode
Softmax mode (instance vs channel-wise).

Functions§

build_activation_fwd_graph
Build the spec-side activation-fwd op graph.