GS::MASt3R::MASt3RDecoderBlock
MASt3R Decoder Block with self-attention, cross-attention, and MLP Matches MASt3R checkpoint structure
Constructors
Instance methods
cross_attn
Sourceforward(x : Autograd::Variable, encoder_out : Autograd::Variable) : Autograd::Variable
Forward pass x: decoder features [batch, seq, embed_dim] encoder_out: encoder features for cross-attention [batch, seq, encoder_dim]
mlp
Sourcenorm1
Sourcenorm2
Sourcenorm3
Sourcenorm_y
Sourceparameters
Sourceself_attn
Source