Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVlabs/RADIO
/ functions
Functions
572 in github.com/NVlabs/RADIO
⨍
Functions
572
◇
Types & classes
107
Method
forward
(self, x: torch.Tensor)
radio/dinov2_arch.py:139
Method
forward
(self, x: torch.Tensor, attn_bias=None)
radio/dinov2_arch.py:166
Method
forward
(self, x: torch.Tensor)
radio/dinov2_arch.py:228
Method
forward
(self, x)
radio/dinov2_arch.py:279
Method
forward
(self, x: torch.Tensor)
radio/dinov2_arch.py:294
Method
forward
(self, x: torch.Tensor)
radio/dinov2_arch.py:368
Method
forward
(self, x_or_x_list)
radio/dinov2_arch.py:437
Method
forward
(self, x)
radio/dinov2_arch.py:554
Method
forward
(self, *args, is_training=False, **kwargs)
radio/dinov2_arch.py:827
Method
forward
Forward pass through C2f layer.
radio/eradio_model.py:54
Method
forward
forward()' applies the YOLOv5 FPN to input data.
radio/eradio_model.py:77
Method
forward
(self,x)
radio/eradio_model.py:97
Method
forward
(self, x)
radio/eradio_model.py:139
Method
forward
(self,x)
radio/eradio_model.py:184
Method
forward
(self, input_tensor)
radio/eradio_model.py:323
Method
forward
(self, x)
radio/eradio_model.py:451
Method
forward
(self, x)
radio/eradio_model.py:574
Method
forward
(self, x)
radio/eradio_model.py:611
Method
forward
(self, x)
radio/eradio_model.py:652
Method
forward
(self, x)
radio/eradio_model.py:689
Method
forward
(self, x)
radio/eradio_model.py:722
Method
forward
(self, x, attn_mask = None)
radio/eradio_model.py:768
Method
forward
(self, x)
radio/eradio_model.py:911
Method
forward
(self, x)
radio/eradio_model.py:962
Method
forward
(self, x, il_level=-1, full_features=None)
radio/eradio_model.py:1012
Method
forward
(self, x)
radio/eradio_model.py:1190
Method
forward
(self, x: torch.Tensor)
radio/cls_token.py:44
Method
forward
Forward pass through C2f layer.
radio/block.py:32
Method
forward
forward()' applies the YOLOv5 FPN to input data.
radio/block.py:56
Method
forward
(self, weight: torch.Tensor, *args, **kwargs)
radio/enable_spectral_reparam.py:76
Method
forward
(self, weight: torch.Tensor, *args, **kwargs)
radio/enable_spectral_reparam.py:115
Method
forward
(self, x: torch.Tensor)
radio/adaptor_mlp.py:43
Method
forward
(self, x: torch.Tensor, images: Optional[torch.Tensor] = None, patch_size: Optional[int] = None)
radio/adaptor_mlp.py:92
Method
forward
(self, input: AdaptorInput)
radio/adaptor_generic.py:65
Method
forward
(self, x: torch.Tensor)
radio/vit_patch_generator.py:94
Method
forward
(self, x: torch.Tensor)
radio/vit_patch_generator.py:281
Method
forward
(self, x: torch.Tensor)
radio/hf_model.py:207
Method
forward
Forward process for model. Args: x: Input tensor. Unless `make_preprocessor_external` has been called, then the dynamic r
radio/radio_model.py:181
Method
forward
(self, src: torch.Tensor, tgt: torch.Tensor)
radio/dual_hybrid_vit.py:30
Method
forward
(self, x: torch.Tensor, twod_shape: Tuple[int, int])
radio/dual_hybrid_vit.py:76
Method
forward
(self, x: torch.Tensor)
radio/dual_hybrid_vit.py:150
Method
forward
(self, x: torch.Tensor)
radio/extra_models.py:41
Method
forward
(self, *args, **kwargs)
radio/extra_models.py:150
Method
forward
Forward pass. Args: x: Input features with shape (B, H, W, C). Returns: Output features with shape (B, H//2,
radio/radio1d.py:261
Method
forward
(ctx: torch.autograd.function.FunctionCtx, x: torch.Tensor, lambda_: Union[float, torch.Tensor] = 1.0)
radio/radio1d.py:328
Method
forward
Forward pass. Args: x: Input features with shape (B, H, W, C). Returns: Output features with shape (B, 2*H,
radio/radio1d.py:434
Method
forward
Forward pass through decoder. Args: global_tokens: Global tokens from encoder (B, num_tokens, C_in), possibly padded
radio/radio1d.py:613
Method
forward
Forward pass through encoder only. Args: x: Input image tensor of shape (B, C, H, W) attn_mask: Optional attention ma
radio/radio1d.py:1668
Method
forward
(self, q: torch.Tensor, k: torch.Tensor, token_shape: Tuple[int, int])
radio/vision_transformer_xpos.py:107
Method
forward
(self, x: torch.Tensor, num_prefix_tokens: int, patch_shape: Tuple[int, int])
radio/vision_transformer_xpos.py:134
Method
forward
(self, x: torch.Tensor, num_prefix_tokens: int, patch_shape: Tuple[int, int])
radio/vision_transformer_xpos.py:205
Method
forward
(self,x)
radio/conv.py:39
Method
forward
(self, x: torch.Tensor, **kwargs)
radio/adaptor_attn.py:45
Method
forward
(self, x: torch.Tensor)
radio/input_conditioner.py:31
Method
forward
(self, input: AdaptorInput)
radio/adaptor_base.py:53
Method
forward
(self, x: torch.Tensor)
examples/position_predictor.py:359
Method
forward
(self, tensor)
examples/count_params.py:49
Method
forward
(self, x, *args, feature_fmt: str = 'NLC', **kwargs)
examples/common/model_loader.py:54
Method
forward
(self, *args, **kwargs)
examples/common/model_loader.py:91
Method
forward
(self, *args, **kwargs)
examples/common/model_loader.py:138
Method
forward
(self, x: torch.Tensor, *args, **kwargs)
examples/common/model_loader.py:156
Method
forward
(self, x: torch.Tensor, **kwargs)
examples/common/model_loader.py:215
Method
forward
(self, x: torch.Tensor, **kwargs)
examples/common/model_loader.py:253
Method
forward
(self, x: torch.Tensor)
examples/common/model_loader.py:305
Method
forward_features
(self, x: torch.Tensor)
radio/extra_models.py:54
Method
forward_features
(self, x: torch.Tensor)
radio/vision_transformer_xpos.py:290
Method
forward_intermediates
Forward features that returns intermediates. Args: x: Input image tensor indices: Take last n blocks if int, select m
radio/radio_model.py:277
Method
forward_intermediates
(self, x: torch.Tensor, norm: bool = False, **kwargs, )
radio/extra_models.py:168
Method
forward_intermediates
(self, x: torch.Tensor, norm: bool = False, **kwargs)
radio/vision_transformer_xpos.py:301
Method
forward_split
Forward pass using split() instead of chunk().
radio/eradio_model.py:60
Method
forward_split
Forward pass using split() instead of chunk().
radio/block.py:38
Method
get_expected_tokens
(self, outside_max: int)
radio/radio1d.py:728
Method
get_expected_tokens
(self, outside_max: int)
radio/radio1d.py:757
Method
get_expected_tokens
(self, outside_max: int)
radio/radio1d.py:777
Method
get_expected_tokens
(self, outside_max: int)
radio/radio1d.py:798
Method
get_first_downscale_block_idx
Return the index of the first downscaling block, or None if no downscaling.
radio/radio1d.py:1662
Method
get_intermediate_layers
( self, x: torch.Tensor, n: Union[int, Sequence] = 1, # Layers or n last layers to ta
radio/dinov2_arch.py:801
Method
get_max_tokens
(self, outside_max: int)
radio/radio1d.py:711
Method
get_max_tokens
(self, outside_max: int)
radio/radio1d.py:795
Function
get_scale_map
scalar_map: (1, h, w, C) is the feature map of a single image.
examples/visualize_features.py:631
Method
head_reshape
(t: torch.Tensor)
radio/vision_transformer_xpos.py:152
Function
hybrid_base
(pretrained=False, concatenate: bool = False, weight_init: str = 'skip', **kwargs)
radio/dual_hybrid_vit.py:190
Function
hybrid_huge
(pretrained=False, concatenate: bool = False, weight_init: str = 'skip', **kwargs)
radio/dual_hybrid_vit.py:208
Function
hybrid_large
(pretrained=False, concatenate: bool = False, weight_init: str = 'skip', **kwargs)
radio/dual_hybrid_vit.py:199
Method
init_weights
(self)
mmseg/linear_head.py:28
Method
make_params
(self, flat_inputs: List[Any])
examples/common/resize_transform.py:35
Method
make_params
(self, flat_inputs: List[Any])
examples/common/resize_transform.py:93
Method
make_preprocessor_external
(self)
radio/radio_model.py:147
Method
max_resolution
(self)
radio/hf_model.py:183
Method
max_resolution
(self)
radio/radio_model.py:111
Method
min_resolution_step
(self)
radio/hf_model.py:195
Method
min_resolution_step
(self)
radio/radio_model.py:123
Function
named_apply
(fn: Callable, module: nn.Module, name="", depth_first=True, include_root=False)
radio/dinov2_arch.py:542
Method
no_fsdp_wrap_types
(self)
radio/dual_hybrid_vit.py:147
Method
no_weight_decay
(self)
radio/cls_token.py:56
Method
no_weight_decay
(self)
radio/vit_patch_generator.py:123
Method
no_weight_decay_keywords
(self)
radio/eradio_model.py:1167
Method
num_cls_patches
(self)
radio/vit_patch_generator.py:112
Method
num_cls_tokens
(self)
radio/vit_patch_generator.py:108
Method
num_cls_tokens
(self)
radio/radio_model.py:96
← previous
next →
401–500 of 572, ranked by callers