Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::GqaOpConcept Concept Referenceexport

Contract for GroupedQueryAttentionOp: positional forward and backward. More...

Concept definition

template<typename TOp, typename TTensor>
concept Mila::Dnn::Compute::GqaOpConcept = requires( const TOp& op, const TTensor& in, TTensor& out )
{
op.forward( in, out );
op.backward( in, in, out );
}
Contract for GroupedQueryAttentionOp: positional forward and backward.
Definition OperationTraits.Template.ixx:75

Detailed Description

Contract for GroupedQueryAttentionOp: positional forward and backward.

Template Parameters
TOpCandidate op type.
TTensorTensor type at the call site.