|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscard |
One nn_attention_mix dispatch: the values of every position mixed by each query's attention weights.
weights is [heads, time, time] as attention_scores_stage and softmax_stage leave it. v and dst are [heads * dim, time].
| std::invalid_argument | When heads, dim or time is 0. |
Definition at line 245 of file Stages.hpp.
References attention_mix_shader, MayaFlux::Yantra::TensorKernels::detail::make_grid_stage(), and MayaFlux::Yantra::TensorKernels::detail::refuse().
Referenced by MayaFlux::Yantra::HubertPhonemeModel::Impl::run().