GS::MASt3R::DPTHead
DPT Head for MASt3R Outputs 3D points + confidence (4 channels)
Constructors
Instance methods
act_postprocess
Sourceforward(decoder_out : Autograd::Variable, patch_h : Int32, patch_w : Int32) : Tuple(Autograd::Variable, Autograd::Variable)
Forward pass - simplified version using final decoder output decoder_out: [batch, seq_len, embed_dim] Returns: {points: [batch, H, W, 3], conf: [batch, H, W, 1]} Note: H, W are at patch resolution (e.g., 32x32 for 512px/16patch)
head
Sourcelocal_features_fc1
Sourcelocal_features_fc2
Sourceparameters
Sourcerefinenets
Sourcescratch_layers
Source