MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

Functionfix_random_seeds
Fix random seeds.
benchmark/models/loger/models/dinov2/utils/utils.py:36
Functionfix_random_seeds
Fix random seeds.
benchmark/models/vggt_omega/models/layers/utils.py:87
Functionflip
flip so that tensor[0::2] <=> tensor[1::2]
benchmark/models/stream3r/dust3r/utils/misc.py:50
Functionflip
flip so that tensor[0::2] <=> tensor[1::2]
benchmark/models/omnivggt/utils/misc.py:64
Functionflip
flip so that tensor[0::2] <=> tensor[1::2]
benchmark/models/dust3r_root/dust3r/utils/misc.py:43
Functionflip
flip so that tensor[0::2] <=> tensor[1::2]
benchmark/models/mast3r_root/dust3r/utils/misc.py:43
Methodflops
(self)
benchmark/models/loger/models/dinov2/layers/patch_embed.py:83
Methodflops
(self)
benchmark/models/streamvggt/layers/patch_embed.py:74
Methodflops
(self)
benchmark/models/vggt/layers/patch_embed.py:80
Methodflops
(self)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/patch_embed.py:83
Methodflops
(self)
benchmark/models/stream3r/models/components/layers/patch_embed.py:83
Methodflops
(self)
benchmark/models/lingbot_map/layers/patch_embed.py:80
Methodflops
(self)
benchmark/models/depth_anything_3/model/dinov2/layers/patch_embed.py:87
Methodflops
(self)
benchmark/models/vggt_omega/models/layers/patch_embed.py:84
Methodflops
(self)
benchmark/models/omnivggt/layers/patch_embed.py:83
Methodflops
(self)
benchmark/models/page4d/layers/patch_embed.py:80
Methodflops
(self)
benchmark/models/fastvggt/layers/patch_embed.py:80
Methodflops
(self)
benchmark/models/r3/depth_anything_3/model/dinov2/layers/patch_embed.py:87
Methodflops
(self)
benchmark/models/pi3/models/dinov2/layers/patch_embed.py:83
Methodflops
(self)
benchmark/models/scal3r/utils/vggt/layers/patch_embed.py:82
Methodflops
(self)
benchmark/models/zipmap/zipmap/layers/patch_embed.py:77
Functionfn_kv_csv
Parse a string of comma-separated triplets: fn:key:value Returns: dict[fn_name] -> dict[key] = parsed_value Example: "f
benchmark/models/r3/depth_anything_3/utils/api_helpers.py:25
Methodfocal_ex
(i)
benchmark/models/dust3r_root/dust3r/cloud_opt/modular_optimizer.py:138
Methodfocal_ex
(i)
benchmark/models/mast3r_root/mast3r/cloud_opt/tsdf_optimizer.py:194
Methodfocal_ex
(i)
benchmark/models/mast3r_root/dust3r/cloud_opt/modular_optimizer.py:138
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/worldmirror_root/src/models/layers/rope.py:148
Methodforward
(self, x)
benchmark/models/worldmirror_root/src/models/layers/drop_path.py:28
Methodforward
(self, x_or_x_list)
benchmark/models/worldmirror_root/src/models/layers/block.py:234
Methodforward
(self, x: Tensor)
benchmark/models/worldmirror_root/src/models/layers/layer_scale.py:16
Methodforward
(self, x: Tensor, attn_bias=None, pos=None)
benchmark/models/worldmirror_root/src/models/layers/attention.py:73
Methodforward
(self, x: Tensor)
benchmark/models/worldmirror_root/src/models/layers/mlp.py:29
Methodforward
(self, x: Tensor)
benchmark/models/worldmirror_root/src/models/layers/swiglu_ffn.py:25
Methodforward
(self, x: Tensor)
benchmark/models/worldmirror_root/src/models/layers/patch_embed.py:63
Methodforward
(self, input)
benchmark/models/worldmirror_root/src/models/layers/patch_embed.py:101
Methodforward
(self, input: torch.Tensor)
benchmark/models/worldmirror_root/src/models/layers/patch_embed.py:120
Methodforward
(self, x)
benchmark/models/worldmirror_root/src/models/layers/patch_embed.py:147
Methodforward
(self, x)
benchmark/models/worldmirror_root/src/models/layers/vision_transformer.py:32
Methodforward
(self, *args, is_training=True, **kwargs)
benchmark/models/worldmirror_root/src/models/layers/vision_transformer.py:321
Methodforward
Forward pass with optional frame chunking for memory efficiency. Args: token_list: List of token tensors from transforme
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:107
Methodforward
Forward pass with residual connection. Args: x (tensor): Input tensor of shape (B, C, H, W) Returns: tensor:
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:435
Methodforward
Forward pass through the feature fusion block. Args: *xs: Variable number of input tensors. First tensor is the main input,
benchmark/models/worldmirror_root/src/models/heads/dense_head.py:509
Methodforward
Forward pass to predict camera parameters Args: feat_seq: List of token tensors from network, last one used for
benchmark/models/worldmirror_root/src/models/heads/camera_head.py:58
Methodforward
Args: images: Input images with shape [B, S, 3, H, W], in range [0, 1] priors: Optional tuple of (depth, rays, poses)
benchmark/models/worldmirror_root/src/models/models/visual_transformer.py:250
Methodforward
Execute forward pass through the WorldMirror model. Args: views: Input data dictionary cond_flags: Condition
benchmark/models/worldmirror_root/src/models/models/worldmirror.py:136
Methodforward
(self, imgs, *args, **kwargs)
benchmark/models/loger/models/pi3.py:582
Methodforward
x: (b, t, l, d) -> (b, t*l, d)
benchmark/models/loger/models/ttt.py:247
Methodforward
Forward pass with optional multimodal conditions. Args: imgs (torch.Tensor): Input RGB images valued in [0, 1].
benchmark/models/loger/models/pi3x.py:191
Methodforward
(self, x_or_x_list)
benchmark/models/loger/models/layers/block.py:249
Methodforward
(self, x: Tensor, xpos=None, attn_mask=None)
benchmark/models/loger/models/layers/block.py:354
Methodforward
(self, x: Tensor, y: Tensor, xpos=None, ypos=None)
benchmark/models/loger/models/layers/block.py:435
Methodforward
(self, x: Tensor, poses, H, W, patch_h, patch_w, K=None, connect=False, attn_mask=None)
benchmark/models/loger/models/layers/block.py:507
Methodforward
(self, x: Tensor, y: Tensor, xpos=None, ypos=None)
benchmark/models/loger/models/layers/block.py:564
Methodforward
(self, hidden, xpos=None)
benchmark/models/loger/models/layers/transformer_head.py:48
Methodforward
(self, decout, img_shape)
benchmark/models/loger/models/layers/transformer_head.py:70
Methodforward
(self, hidden, context, xpos=None, ypos=None)
benchmark/models/loger/models/layers/transformer_head.py:128
Methodforward
(self, x)
benchmark/models/loger/models/layers/conv_head.py:55
Methodforward
(self, hidden_states: torch.Tensor, image: torch.Tensor = None, patch_h: int = None, patch_w: int = None)
benchmark/models/loger/models/layers/conv_head.py:114
Methodforward
(self, x: Tensor, attn_bias=None)
benchmark/models/loger/models/layers/attention.py:130
Methodforward
(self, x: Tensor, attn_bias=None)
benchmark/models/loger/models/layers/attention.py:152
Methodforward
Args: query: Tensor of shape (B, N, C), input query key: Tensor of shape (B, M, C), input key value: Tens
benchmark/models/loger/models/layers/attention.py:208
Methodforward
Args: query: Tensor of shape (B, N, C), input query key: Tensor of shape (B, M, C), input key value: Tens
benchmark/models/loger/models/layers/attention.py:252
Methodforward
(self, x: Tensor, attn_bias=None, xpos=None)
benchmark/models/loger/models/layers/attention.py:324
Methodforward
(self, x: Tensor, attn_bias=None, xpos=None, attn_mask=None)
benchmark/models/loger/models/layers/attention.py:347
Methodforward
(self, x: Tensor, attn_bias=None, xpos=None, attn_mask=None)
benchmark/models/loger/models/layers/attention.py:494
Methodforward
(self, x: Tensor, extrinsics, H, W, patch_h, patch_w, K=None, attn_mask=None)
benchmark/models/loger/models/layers/attention.py:568
Methodforward
Args: query: Tensor of shape (B, N, C) key: Tensor of shape (B, M, C) value: Tensor of shape (B, M, C),
benchmark/models/loger/models/layers/attention.py:606
Methodforward
input: * tokens: batch_size x nheads x ntokens x dim * positions: batch_size x ntokens x 2 (y and x posit
benchmark/models/loger/models/layers/pos_embed.py:142
Methodforward
(self, res)
benchmark/models/loger/models/layers/camera_head.py:25
Methodforward
(self, feat, patch_h, patch_w)
benchmark/models/loger/models/layers/camera_head.py:52
Methodforward
( self, q: torch.Tensor, # (batch, num_heads, seqlen, head_dim) k: torch.Tensor, # (
benchmark/models/loger/models/layers/prope.py:113
Methodforward
(self, x)
benchmark/models/loger/models/dinov2/hub/utils.py:36
Methodforward
(self, x)
benchmark/models/loger/models/dinov2/layers/drop_path.py:33
Methodforward
(self, x_or_x_list)
benchmark/models/loger/models/dinov2/layers/block.py:251
Methodforward
(self, x)
benchmark/models/loger/models/dinov2/layers/dino_head.py:36
Methodforward
(self, x: Tensor)
benchmark/models/loger/models/dinov2/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, attn_bias=None)
benchmark/models/loger/models/dinov2/layers/attention.py:73
Methodforward
(self, x: Tensor)
benchmark/models/loger/models/dinov2/layers/mlp.py:34
Methodforward
(self, x: Tensor)
benchmark/models/loger/models/dinov2/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
benchmark/models/loger/models/dinov2/layers/patch_embed.py:68
Methodforward
(self, x)
benchmark/models/loger/models/dinov2/models/vision_transformer.py:39
Methodforward
(self, *args, is_training=False, **kwargs)
benchmark/models/loger/models/dinov2/models/vision_transformer.py:332
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/streamvggt/layers/rope.py:138
Methodforward
(self, x)
benchmark/models/streamvggt/layers/drop_path.py:23
Methodforward
(self, x_or_x_list)
benchmark/models/streamvggt/layers/block.py:253
Methodforward
(self, x: Tensor)
benchmark/models/streamvggt/layers/layer_scale.py:19
Methodforward
(self, x: Tensor, attn_bias=None, pos=None)
benchmark/models/streamvggt/layers/attention.py:157
Methodforward
(self, x: Tensor)
benchmark/models/streamvggt/layers/mlp.py:24
Methodforward
(self, x: Tensor)
benchmark/models/streamvggt/layers/swiglu_ffn.py:25
Methodforward
(self, x: Tensor)
benchmark/models/streamvggt/layers/patch_embed.py:59
Methodforward
(self, x)
benchmark/models/streamvggt/layers/vision_transformer.py:27
Methodforward
(self, *args, is_training=True, **kwargs)
benchmark/models/streamvggt/layers/vision_transformer.py:326
Methodforward
Forward pass through the DPT head, supports processing by chunking frames. Args: aggregated_tokens_list (List[Tensor]): L
benchmark/models/streamvggt/heads/dpt_head.py:112
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
benchmark/models/streamvggt/heads/dpt_head.py:354
Methodforward
Forward pass. Returns: tensor: output
benchmark/models/streamvggt/heads/dpt_head.py:420
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
benchmark/models/streamvggt/heads/camera_head.py:74
Methodforward
Forward pass of the TrackHead. Args: aggregated_tokens_list (list): List of aggregated tokens from the backbone.
benchmark/models/streamvggt/heads/track_head.py:66
Methodforward
(self, input_tensor, mask=None)
benchmark/models/streamvggt/heads/track_modules/blocks.py:91
Methodforward
query_points: B x N x 2, the number of batches, tracks, and xy fmaps: B x S x C x HH x WW, the number of batches, frames, and feature
benchmark/models/streamvggt/heads/track_modules/base_track_predictor.py:69
Methodforward
(self, x)
benchmark/models/streamvggt/heads/track_modules/modules.py:93
Methodforward
(self, x)
benchmark/models/streamvggt/heads/track_modules/modules.py:131
← previousnext →4,001–4,100 of 5,295, ranked by callers