MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

Methodforward
(self, x, mask=None)
benchmark/models/streamvggt/heads/track_modules/modules.py:163
Methodforward
(self, x, context, mask=None)
benchmark/models/streamvggt/heads/track_modules/modules.py:199
Methodforward
Args: images (torch.Tensor): Input images with shape [B, S, 3, H, W], in range [0, 1]. B: batch size, S: sequence
benchmark/models/streamvggt/models/aggregator.py:189
Methodforward
( self, views, query_points: torch.Tensor = None, history_info: Optional[dict]
benchmark/models/streamvggt/models/streamvggt.py:31
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/vggt/layers/rope.py:154
Methodforward
(self, x)
benchmark/models/vggt/layers/drop_path.py:33
Methodforward
(self, x_or_x_list)
benchmark/models/vggt/layers/block.py:239
Methodforward
(self, x: Tensor)
benchmark/models/vggt/layers/layer_scale.py:21
Methodforward
(self, x: Tensor, attn_bias=None, pos=None)
benchmark/models/vggt/layers/attention.py:76
Methodforward
(self, x: Tensor)
benchmark/models/vggt/layers/mlp.py:34
Methodforward
(self, x: Tensor)
benchmark/models/vggt/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
benchmark/models/vggt/layers/patch_embed.py:65
Methodforward
(self, x)
benchmark/models/vggt/layers/vision_transformer.py:36
Methodforward
(self, *args, is_training=True, **kwargs)
benchmark/models/vggt/layers/vision_transformer.py:325
Methodforward
Forward pass through the DPT head, supports processing by chunking frames. Args: aggregated_tokens_list (List[Tensor]): L
benchmark/models/vggt/heads/dpt_head.py:115
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
benchmark/models/vggt/heads/dpt_head.py:366
Methodforward
Forward pass. Returns: tensor: output
benchmark/models/vggt/heads/dpt_head.py:432
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
benchmark/models/vggt/heads/camera_head.py:73
Methodforward
Forward pass of the TrackHead. Args: aggregated_tokens_list (list): List of aggregated tokens from the backbone.
benchmark/models/vggt/heads/track_head.py:72
Methodforward
(self, input_tensor, mask=None)
benchmark/models/vggt/heads/track_modules/blocks.py:90
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/vggt/heads/track_modules/base_track_predictor.py:82
Methodforward
(self, x)
benchmark/models/vggt/heads/track_modules/modules.py:86
Methodforward
(self, x)
benchmark/models/vggt/heads/track_modules/modules.py:124
Methodforward
(self, x, mask=None)
benchmark/models/vggt/heads/track_modules/modules.py:156
Methodforward
(self, x, context, mask=None)
benchmark/models/vggt/heads/track_modules/modules.py:192
Methodforward
Args: images (torch.Tensor): Input images with shape [B, S, 3, H, W], in range [0, 1]. B: batch size, S: sequence
benchmark/models/vggt/models/aggregator.py:184
Methodforward
Forward pass of the VGGT model. Args: images (torch.Tensor): Input images with shape [S, 3, H, W] or [B, S, 3, H, W], in
benchmark/models/vggt/models/vggt.py:29
Methodforward
(ctx: Any, group: dist.ProcessGroup, input: Tensor, local_seq_2_local_head: bool)
benchmark/models/vgg_ttt/vggttt/utils/dist_att.py:116
Methodforward
( ctx: Any, group: dist.ProcessGroup, q: Tensor, k: Tensor, v: Tensor,
benchmark/models/vgg_ttt/vggttt/utils/dist_att.py:129
Methodforward
Forward pass for distributed attention computation. Arguments: query (Tensor): Query tensor of shape (batch_size, sequence_length
benchmark/models/vgg_ttt/vggttt/utils/dist_att.py:190
Methodforward
Forward pass. Args: x: Input tensor [b, num_heads, tokens, d] where tokens is structured as num_images * [num_pre
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:32
Methodforward
(self, x, *args, **kwargs)
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:68
Methodforward
x: (b, l, d)
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:317
Methodforward
Forward pass. Args: query, key, value: Query, key, and value tensors of shape (B, num_heads, global_seq_length / seq_parallel_wor
benchmark/models/vgg_ttt/vggttt/nets/dist_attention.py:59
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/rope.py:154
Methodforward
(self, x)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/drop_path.py:33
Methodforward
( self, x: Tensor, pos=None, chunk_size: int | None = None, offload_to_cpu: bool = False, **kwargs
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/block.py:86
Methodforward
(self, x: Tensor)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, pos=None, pos_max=None, **kwargs)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/attention.py:73
Methodforward
(self, x: Tensor)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/mlp.py:34
Methodforward
(self, x: Tensor)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/patch_embed.py:68
Methodforward
(self, x)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/vision_transformer.py:39
Methodforward
(self, *args, is_training=True, **kwargs)
benchmark/models/vgg_ttt/vggttt/nets/vggt/layers/vision_transformer.py:338
Methodforward
Forward pass through the DPT head, supports processing by chunking frames. Args: tokens_list: List of token tensors from
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:132
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:393
Methodforward
Forward pass. Returns: tensor: output
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/dpt_head.py:459
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/camera_head.py:88
Methodforward
Forward pass of the TrackHead. Args: aggregated_tokens_list (list): List of aggregated tokens from the backbone.
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_head.py:77
Methodforward
(self, input_tensor, mask=None)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/blocks.py:105
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/vgg_ttt/vggttt/nets/vggt/heads/track_modules/base_track_predictor.py:179
Methodforward
(self, x)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:108
Methodforward
(self, x)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:146
Methodforward
(self, x, mask=None)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:178
Methodforward
(self, x, context, mask=None)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:215
Methodforward
Args: query, key, values: (B, N, D)
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/modules.py:250
Methodforward
Args: images (torch.Tensor): Input images with shape [B, S, 3, H, W], in range [0, 1]. B: batch size, S: sequence
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/aggregator.py:211
Methodforward
Forward pass of the VGGT model. Args: images (torch.Tensor): Input images with shape [S, 3, H, W] or [B, S, 3, H, W], in
benchmark/models/vgg_ttt/vggttt/nets/vggt/models/vggt.py:138
Methodforward
(self, x, **kw)
benchmark/models/stream3r/dust3r/patch_embed.py:25
Methodforward
(self, img, true_shape)
benchmark/models/stream3r/dust3r/patch_embed.py:59
Methodforward
Forward pass of the STream3R model. Args: images (torch.Tensor): Input images with shape [S, 3, H, W] or [B, S, 3, H, W]
benchmark/models/stream3r/models/stream3r.py:38
Methodforward
Args: images (torch.Tensor): Input images with shape [B, S, 3, H, W], in range [0, 1]. B: batch size, S: sequence
benchmark/models/stream3r/models/components/aggregator/streamaggregator.py:186
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/stream3r/models/components/layers/rope.py:154
Methodforward
(self, x)
benchmark/models/stream3r/models/components/layers/drop_path.py:33
Methodforward
(self, x_or_x_list)
benchmark/models/stream3r/models/components/layers/block.py:270
Methodforward
(self, x: Tensor)
benchmark/models/stream3r/models/components/layers/layer_scale.py:26
Methodforward
(self, x: Tensor, attn_bias=None, pos=None)
benchmark/models/stream3r/models/components/layers/attention.py:100
Methodforward
(self, x: Tensor)
benchmark/models/stream3r/models/components/layers/mlp.py:34
Methodforward
(self, x: Tensor)
benchmark/models/stream3r/models/components/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
benchmark/models/stream3r/models/components/layers/patch_embed.py:68
Methodforward
(self, x)
benchmark/models/stream3r/models/components/layers/vision_transformer.py:36
Methodforward
(self, *args, is_training=True, **kwargs)
benchmark/models/stream3r/models/components/layers/vision_transformer.py:335
Methodforward
Forward pass through the DPT head, supports processing by chunking frames. Args: aggregated_tokens_list (List[Tensor]): L
benchmark/models/stream3r/models/components/heads/dpt_head.py:128
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
benchmark/models/stream3r/models/components/heads/dpt_head.py:379
Methodforward
Forward pass. Returns: tensor: output
benchmark/models/stream3r/models/components/heads/dpt_head.py:445
Methodforward
Forward pass to predict camera parameters. Args: aggregated_tokens_list (list): List of token tensors from the network;
benchmark/models/stream3r/models/components/heads/camera_head.py:105
Methodforward
(self, x)
benchmark/models/stream3r/croco/models/blocks.py:69
Methodforward
(self, x)
benchmark/models/stream3r/croco/models/blocks.py:100
Methodforward
(self, x, xpos)
benchmark/models/stream3r/croco/models/blocks.py:135
Methodforward
(self, x, xpos)
benchmark/models/stream3r/croco/models/blocks.py:236
Methodforward
(self, query, key, value, qpos, kpos)
benchmark/models/stream3r/croco/models/blocks.py:265
Methodforward
(self, x, y, xpos, ypos)
benchmark/models/stream3r/croco/models/blocks.py:357
Methodforward
(self, x, y, xpos, ypos)
benchmark/models/stream3r/croco/models/blocks.py:412
Methodforward
(self, x)
benchmark/models/stream3r/croco/models/blocks.py:464
Methodforward
input: * tokens: batch_size x nheads x ntokens x dim * positions: batch_size x ntokens x 2 (y and x posit
benchmark/models/stream3r/croco/models/pos_embed.py:162
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
benchmark/models/stream3r/croco/models/dpt_block.py:133
Methodforward
Forward pass. Returns: tensor: output
benchmark/models/stream3r/croco/models/dpt_block.py:202
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: interpolated data
benchmark/models/stream3r/croco/models/dpt_block.py:281
Methodforward
(self, encoder_tokens: List[torch.Tensor], image_size)
benchmark/models/stream3r/croco/models/dpt_block.py:499
Methodforward
(ctx, tokens, positions, base, F0=1)
benchmark/models/stream3r/croco/models/curope/curope2d.py:21
Methodforward
(self, tokens, positions)
benchmark/models/stream3r/croco/models/curope/curope2d.py:45
Methodforward
Forward pass. Args: images: Input images [B, S, 3, H, W] in range [0, 1] selected_idx: Which block indices t
benchmark/models/lingbot_map/aggregator/base.py:541
Methodforward
Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_size, n_heads, n_tokens, dim).
benchmark/models/lingbot_map/layers/rope.py:156
Methodforward
前向传播:为3D输入(视频帧+patch)生成旋转位置编码 参数: - ppf (int): 帧数(patches per frame),当f_end为None时使用 - pph (int): 每帧的patch高度数
benchmark/models/lingbot_map/layers/rope.py:328
Methodforward
(self, x)
benchmark/models/lingbot_map/layers/drop_path.py:33
Methodforward
(self, x: Tensor, pos=None, enable_ulysses_cp=False, num_patches=None, num_special=None, num_f
benchmark/models/lingbot_map/layers/block.py:77
Methodforward
( self, x: Tensor, pos=None, enable_ulysses_cp=False, num_patches=None
benchmark/models/lingbot_map/layers/block.py:229
Methodforward
(self, x: Tensor, pos=None, video_mask=None, num_frames=0, frame_seqlen=0, kv_cache=None, current_start=0, cur
benchmark/models/lingbot_map/layers/block.py:419
Methodforward
(self, x: Tensor, pos=None, enable_ulysses_cp=False, num_patches=None, num_special=None, num_f
benchmark/models/lingbot_map/layers/block.py:508
Methodforward
(self, x: Tensor)
benchmark/models/lingbot_map/layers/layer_scale.py:21
← previousnext →4,101–4,200 of 5,295, ranked by callers