|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscard |
The nn_normalize dispatch that measures every row of a tensor [outer, extent, inner] along extent.
Writes the mean and 1 / sqrt(variance + epsilon) of each (outer, inner) row to stats, two floats per row. The variance is the mean squared deviation. Follow it with normalize_apply_stage.
| src | Device address of the tensor. |
| stats | Device address of the row measures, 2 * outer * inner floats. |
| std::invalid_argument | When an extent is 0. |
Definition at line 152 of file Stages.hpp.
References MayaFlux::Yantra::TensorKernels::detail::make_grid_stage(), normalize_shader, and MayaFlux::Yantra::TensorKernels::detail::refuse().
Referenced by MayaFlux::Yantra::HubertPhonemeModel::Impl::run().