↓ 3 callersFunctiondump_geometry_encoder(
ckpt: Dict[str, torch.Tensor],
img_feats_hwc: torch.Tensor, # [H*W, B, C] seq-first image feat
tests/dump_geom_encoder_reference.py:156
↓ 3 callersFunctionedgetam_build_repvit_graphBuild the full RepViT backbone graph. Input: [W, H, 3, 1] image Returns 4 feature maps as stage_outs[0..3], each [C_stage, W_stage, H_stage, 1]
sam3.cpp:4796