|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscard |
The nn_normalize dispatch that writes (x - mean) * scale from the measures of normalize_stats_stage.
| src | Device address of the tensor. |
| stats | Device address of the row measures. |
| weight | Device address of the weight, ignored when affine is None. |
| bias | Device address of the bias, ignored when affine is None. |
| dst | Device address of the output, which may be src. |
| affine | Which index selects the weight and bias. |
| activation | Applied last. None and Gelu are supported. |
| std::invalid_argument | When an extent is 0 or the activation is not supported. |
Definition at line 175 of file Stages.hpp.
References Gelu, MayaFlux::Yantra::TensorKernels::detail::make_grid_stage(), None, normalize_activation_shift, normalize_flag_affine, normalize_flag_affine_outer, normalize_flag_apply, normalize_shader, Outer, and MayaFlux::Yantra::TensorKernels::detail::refuse().
Referenced by MayaFlux::Yantra::HubertPhonemeModel::Impl::run().