MCPcopy Create free account

hub / github.com/Ropedia/SpatialBench / functions

Functions5,295 in github.com/Ropedia/SpatialBench

↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/worldmirror_root/src/models/layers/block.py:194
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/loger/models/layers/block.py:209
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/loger/models/dinov2/layers/block.py:211
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/streamvggt/layers/block.py:213
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/vggt/layers/block.py:199
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/stream3r/models/components/layers/block.py:230
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/omnivggt/layers/block.py:260
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/page4d/layers/block.py:270
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/fastvggt/layers/block.py:222
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/pi3/models/layers/block.py:209
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/pi3/models/dinov2/layers/block.py:211
↓ 1 callersMethodforward_nested
(self, x_list: List[Tensor])
benchmark/models/scal3r/utils/vggt/layers/block.py:285
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/zipmap/zipmap/layers/block.py:192
↓ 1 callersMethodforward_nested
x_list contains a list of tensors to nest together and run
benchmark/models/zipmap/zipmap/layers/block_ttt.py:222
↓ 1 callersMethodforward_with_kv_cache
Forward with pre-computed KV cache for history tokens. Args: x: Current tokens [B, N_curr, C] k_cache: Cached
benchmark/models/loger/models/layers/block.py:323
↓ 1 callersFunctionfreeze_all_params
(modules)
benchmark/models/stream3r/dust3r/utils/misc.py:29
↓ 1 callersFunctionfreeze_all_params
(modules)
benchmark/models/dust3r_root/dust3r/utils/misc.py:22
↓ 1 callersFunctionfreeze_all_params
(modules)
benchmark/models/mast3r_root/dust3r/utils/misc.py:22
↓ 1 callersMethodfreeze_grad
(self)
benchmark/models/page4d/layers/block.py:73
↓ 1 callersFunctionfrustum_intersection_check
Check if any pair of the frustums intersect with each other. Args: frustums (torch.Tensor): Bx8 batch of frustum points. che
benchmark/models/mapanything/utils/wai/intersection_check.py:192
↓ 1 callersFunctionfrustums_in_frustum_check
Check if frustums are contained within other frustums. Args: frustums (torch.Tensor): Bx8 batch of frustum points. chunk_siz
benchmark/models/mapanything/utils/wai/intersection_check.py:394
↓ 1 callersFunctionfuse_fallback_bridge_pose
Blend old/new bridge motion relative to the preserved old anchor pose.
benchmark/models/r3/R3/models/online/fallback.py:284
↓ 1 callersFunctionfuse_fallback_depth_pair
Blend old/new bridge depth into the accepted segment's raw depth scale.
benchmark/models/r3/R3/models/online/fallback.py:308
↓ 1 callersFunctiongallery
()
benchmark/models/r3/depth_anything_3/services/gallery.py:759
↓ 1 callersFunctiongenerate_prior_output_name
Generate an output name that includes prior info.
benchmark/evaluation/run_benchmark_with_prior.py:90
↓ 1 callersFunctiongenerate_rank_by_dino
Generate a ranking of frames using DINO ViT features. Args: images: Tensor of shape (S, 3, H, W) with values in range [0, 1]
benchmark/models/page4d/dependency/vggsfm_utils.py:51
↓ 1 callersFunctiongenerate_rotation_coordinate_frame
Generate a coordinate frame where the Y direction is normal to the plane defined by unit vectors a and b. The other axes are arbitrary.
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:214
↓ 1 callersFunctiongenerate_rotation_coordinate_frame
Generate a coordinate frame where the Y direction is normal to the plane defined by unit vectors a and b. The other axes are arbitrary.
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:214
↓ 1 callersFunctiongenerate_wobble_transformation
( radius: torch.Tensor, # "*#batch" t: torch.Tensor, # " time_step" num_rotations: int = 1,
benchmark/models/depth_anything_3/utils/camera_trj_helpers.py:409
↓ 1 callersFunctiongenerate_wobble_transformation
( radius: torch.Tensor, # "*#batch" t: torch.Tensor, # " time_step" num_rotations: int = 1,
benchmark/models/r3/depth_anything_3/utils/camera_trj_helpers.py:409
↓ 1 callersFunctionget_1d_rotary_pos_embed
计算1D旋转位置编码(RoPE)的频率张量。 RoPE的核心思想:使用旋转矩阵来编码位置信息,使得相对位置关系保持不变。 公式:对于位置m和维度i,频率为 θ_i = θ^(-2i/d),其中θ是基础频率(默认10000) Args:
benchmark/models/lingbot_map/layers/rope.py:194
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/streamvggt/heads/track_modules/utils.py:83
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/vggt/heads/track_modules/utils.py:90
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/utils.py:54
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/page4d/heads/track_modules/utils.py:90
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/page4d/dependency/track_modules/utils.py:91
↓ 1 callersFunctionget_2d_embedding
This function generates a 2D positional embedding from given coordinates using sine and cosine functions. Args: - xy: The coordinates to
benchmark/models/fastvggt/heads/track_modules/utils.py:90
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/streamvggt/heads/track_modules/utils.py:8
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/vggt/heads/track_modules/utils.py:18
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/vgg_ttt/vggttt/nets/vggt/heads/track_modules/utils.py:19
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/page4d/heads/track_modules/utils.py:18
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/page4d/dependency/track_modules/utils.py:19
↓ 1 callersFunctionget_2d_sincos_pos_embed
This function initializes a grid and generates a 2D positional embedding using sine and cosine functions. It is a wrapper of get_2d_sincos_po
benchmark/models/fastvggt/heads/track_modules/utils.py:18
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
benchmark/models/loger/models/layers/pos_embed.py:40
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
This function generates a 2D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/streamvggt/heads/track_modules/utils.py:36
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
This function generates a 2D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/vggt/heads/track_modules/utils.py:43
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
benchmark/models/stream3r/croco/models/pos_embed.py:47
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
This function generates a 2D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/page4d/heads/track_modules/utils.py:43
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
This function generates a 2D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/page4d/dependency/track_modules/utils.py:44
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
This function generates a 2D positional embedding from a given grid using sine and cosine functions. Args: - embed_dim: The embedding di
benchmark/models/fastvggt/heads/track_modules/utils.py:43
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
benchmark/models/dust3r_root/croco/models/pos_embed.py:40
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
benchmark/models/pi3/models/layers/pos_embed.py:40
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
benchmark/models/mast3r_root/croco/models/pos_embed.py:40
↓ 1 callersFunctionget_agg_state_path
(args, block_index: int)
benchmark/models/scal3r/utils/offload_utils.py:52
↓ 1 callersFunctionget_aggregator
(agg_arch: str = "SALAD", agg_config: dict | None = None)
benchmark/models/scal3r/utils/loop/models/helper.py:10
↓ 1 callersMethodget_aggregator_query_conditions
(self, query_info)
benchmark/models/zipmap/zipmap/models/ZipMap.py:190
↓ 1 callersFunctionget_all_models
Scans all YAML files in the configs directory and returns a sorted dictionary where: - Keys are model names (YAML filenames without the .yaml
benchmark/models/depth_anything_3/registry.py:19
↓ 1 callersFunctionget_all_models
Scans all YAML files in the configs directory and returns a sorted dictionary where: - Keys are model names (YAML filenames without the .yaml
benchmark/models/r3/depth_anything_3/registry.py:19
↓ 1 callersFunctionget_backbone
(backbone_arch: str = "dinov2_vitb14", backbone_config: dict | None = None)
benchmark/models/scal3r/utils/loop/models/helper.py:3
↓ 1 callersFunctionget_backbone_attention_mode
Read the configured global attention mode from the underlying DA3 backbone.
benchmark/models/r3/R3/models/r3_wrapper/paged_kv.py:19
↓ 1 callersFunctionget_benchmark_result_root
()
benchmark/models/scal3r/engine/path.py:25
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/worldmirror_root/src/models/layers/block.py:123
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/loger/models/layers/block.py:138
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/loger/models/dinov2/layers/block.py:140
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/streamvggt/layers/block.py:142
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/vggt/layers/block.py:128
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/stream3r/models/components/layers/block.py:159
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/omnivggt/layers/block.py:189
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/page4d/layers/block.py:199
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/fastvggt/layers/block.py:131
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/pi3/models/layers/block.py:138
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/pi3/models/dinov2/layers/block.py:140
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/scal3r/utils/vggt/layers/block.py:241
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/zipmap/zipmap/layers/block.py:121
↓ 1 callersFunctionget_branges_scales
(x, sample_drop_ratio=0.0)
benchmark/models/zipmap/zipmap/layers/block_ttt.py:151
↓ 1 callersMethodget_cache_stats
Read-only snapshot of cache occupancy for one block. Useful for debugging keyframe / sliding-window behavior. Returns:
benchmark/models/lingbot_map/layers/flashinfer_cache.py:303
↓ 1 callersFunctionget_cfg_from_args
(args)
benchmark/models/loger/models/dinov2/utils/config.py:40
↓ 1 callersFunctionget_checkpoint_path
(cluster_type: Optional[ClusterType] = None)
benchmark/models/loger/models/dinov2/utils/cluster.py:38
↓ 1 callersMethodget_chunk_boundaries
( self, N: int, chunk_size: int | None, num_prefix_tokens: int, num_su
benchmark/models/vgg_ttt/vggttt/nets/ttt_attention.py:399
↓ 1 callersFunctionget_conf_thresh
( prediction: Prediction, sky_mask: np.ndarray, conf_thresh: float, conf_thresh_percentile: fl
benchmark/models/depth_anything_3/utils/export/glb.py:35
↓ 1 callersFunctionget_conf_thresh
( prediction: Prediction, sky_mask: np.ndarray, conf_thresh: float, conf_thresh_percentile: fl
benchmark/models/r3/depth_anything_3/utils/export/glb.py:35
↓ 1 callersMethodget_confs
(self, pred1, pred2, sel1, sel2)
benchmark/models/mast3r_root/mast3r/losses.py:371
↓ 1 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
benchmark/models/loger/models/layers/pos_embed.py:120
↓ 1 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
benchmark/models/stream3r/croco/models/pos_embed.py:138
↓ 1 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
benchmark/models/dust3r_root/croco/models/pos_embed.py:118
↓ 1 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
benchmark/models/pi3/models/layers/pos_embed.py:120
↓ 1 callersMethodget_cos_sin
(self, D, seq_len, device, dtype)
benchmark/models/mast3r_root/croco/models/pos_embed.py:118
↓ 1 callersFunctionget_cuda_snapshot
(device: str | torch.device | None)
benchmark/models/scal3r/utils/runtime_utils.py:48
↓ 1 callersFunctionget_custom_result_root
()
benchmark/models/scal3r/engine/path.py:21
↓ 1 callersFunctionget_data_loader
(dataset, batch_size, num_workers=8, shuffle=True, drop_last=True, pin_mem=True)
benchmark/models/amb3r_root/amb3r/datasets/__init__.py:45
↓ 1 callersMethodget_dense_pts3d
(self, clean_depth=True, subsample=8)
benchmark/models/mast3r_root/mast3r/cloud_opt/sparse_ga.py:71
↓ 1 callersMethodget_dense_pts3d
(self, clean_depth=True)
benchmark/models/mast3r_root/mast3r/cloud_opt/tsdf_optimizer.py:269
↓ 1 callersMethodget_depthmaps
(self, raw=False)
benchmark/models/dust3r_root/dust3r/cloud_opt/base_opt.py:231
↓ 1 callersMethodget_depthmaps
(self, raw=False)
benchmark/models/dust3r_root/dust3r/cloud_opt/optimizer.py:164
↓ 1 callersMethodget_depthmaps
(self)
benchmark/models/dust3r_root/dust3r/cloud_opt/modular_optimizer.py:127
↓ 1 callersMethodget_depthmaps
(self, raw=False)
benchmark/models/mast3r_root/dust3r/cloud_opt/base_opt.py:231
↓ 1 callersMethodget_depthmaps
(self, raw=False)
benchmark/models/mast3r_root/dust3r/cloud_opt/optimizer.py:164
↓ 1 callersMethodget_depthmaps
(self)
benchmark/models/mast3r_root/dust3r/cloud_opt/modular_optimizer.py:127
↓ 1 callersMethodget_descs
(self, pred1, pred2)
benchmark/models/mast3r_root/mast3r/losses.py:383
↓ 1 callersFunctionget_dpt_state_path
(args, block_index: int, layer_index: int)
benchmark/models/scal3r/utils/offload_utils.py:56
← previousnext →2,201–2,300 of 5,295, ranked by callers