MCPcopy Create free account

hub / github.com/NVlabs/FoundationStereo / functions

Functions881 in github.com/NVlabs/FoundationStereo

Methodforward
(self, h, cz, cr, cq, *x_list)
core/update.py:40
Methodforward
(self, disp, corr)
core/update.py:61
Methodforward
(self, h, x, hx)
core/update.py:89
Methodforward
(self, att, h, *x)
core/update.py:111
Methodforward
(self, net, inp, corr, disp, att)
core/update.py:140
Methodforward
(self, out_features, patch_h, patch_w, return_intermediate=False, patch_size=14)
depth_anything/dpt.py:103
Methodforward
(self, x)
depth_anything/dpt.py:164
Methodforward
(self, x)
depth_anything/dpt.py:178
Methodforward
Forward pass. Args: x (tensor): input Returns: tensor: output
depth_anything/blocks.py:69
Methodforward
Forward pass. Returns: tensor: output
depth_anything/blocks.py:126
Methodforward
(self, x_tokens_list)
dinov2/dinov2/eval/linear.py:199
Methodforward
(self, inputs)
dinov2/dinov2/eval/linear.py:210
Methodforward
(self, samples, targets)
dinov2/dinov2/eval/linear.py:223
Methodforward
(self, samples, targets)
dinov2/dinov2/eval/log_regression.py:129
Methodforward
(self, samples)
dinov2/dinov2/eval/utils.py:26
Methodforward
(self, images)
dinov2/dinov2/eval/utils.py:38
Methodforward
Compute the results on all values of `self.nb_knn` neighbors from the full `self.max_k`
dinov2/dinov2/eval/knn.py:170
Methodforward
(self, features_dict, targets)
dinov2/dinov2/eval/knn.py:192
Methodforward
(self, *args, **kwargs)
dinov2/dinov2/eval/knn.py:241
Methodforward
( ctx, value, value_spatial_shapes, value_level_start_index, sampling_locations, attention_weights, im
dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:20
Methodforward
:param query (N, Length_{query}, C) :param reference_points (N, Length_{query}, n_levels, 2), range
dinov2/dinov2/eval/segmentation_m2f/ops/modules/ms_deform_attn.py:120
Methodforward
(self, x, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:60
Methodforward
(self, x, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:75
Methodforward
(self, query, reference_points, feat, spatial_shapes, level_start_index, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:116
Methodforward
(self, query, reference_points, feat, spatial_shapes, level_start_index)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:157
Methodforward
(self, x, c, blocks, deform_inputs1, deform_inputs2, H_c, W_c, H_toks, W_toks)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:235
Methodforward
(self, x, c, cls, blocks, deform_inputs1, deform_inputs2, H_c, W_c, H_toks, W_toks)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:330
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/adapter_modules.py:419
Methodforward
(self, x: Tensor)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:70
Methodforward
(self, x: Tensor)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:98
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:123
Methodforward
(self, x, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:144
Methodforward
(self, x: Tensor, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:178
Methodforward
(self, x, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:240
Methodforward
(self, x, H, W)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:368
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit.py:522
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/vit_adapter.py:128
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/backbones/drop_path.py:31
Methodforward
Forward function for `SinePositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
dinov2/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:55
Methodforward
Forward function for `LearnedPositionalEncoding`. Args: mask (Tensor): ByteTensor mask. Non-zero values representing
dinov2/dinov2/eval/segmentation_m2f/models/utils/positional_encoding.py:121
Methodforward
(self, x)
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:92
Methodforward
Args: x (Tensor): Has shape (B, H*W, C_in). input_size (tuple[int]): The spatial shape of x, arrange as (H, W).
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:178
Methodforward
Forward function for `TransformerCoder`. Returns: Tensor: forwarded results with shape [num_query, bs, embed_dims].
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:380
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_di
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:411
Methodforward
Forward function for `Transformer`. Args: x (Tensor): Input query with shape [bs, c, h, w] where c = embed_dims.
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:476
Methodforward
Forward function for `TransformerDecoder`. Args: query (Tensor): Input query with shape `(num_query, bs, embed_di
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:531
Methodforward
Forward function for `Transformer`. Args: mlvl_feats (list(Tensor)): Input queries from different level. Each ele
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:747
Methodforward
Forward function for `DynamicConv`. Args: param_feature (Tensor): The feature can be used to generate the paramet
dinov2/dinov2/eval/segmentation_m2f/models/utils/transformer.py:948
Methodforward
Forward function. Args: feats (list[Tensor]): Multi scale Features from the upstream network, each is a 4D-tensor
dinov2/dinov2/eval/segmentation_m2f/models/decode_heads/mask2former_head.py:420
Methodforward
Args: feats (list[Tensor]): Feature maps of each level. Each has shape of (batch_size, c, h, w). Returns
dinov2/dinov2/eval/segmentation_m2f/models/plugins/msdeformattn_pixel_decoder.py:146
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction, has a shape (n, *). target (torch.Tensor): The label of
dinov2/dinov2/eval/segmentation_m2f/models/losses/dice_loss.py:116
Methodforward
Forward function.
dinov2/dinov2/eval/segmentation_m2f/models/losses/cross_entropy_loss.py:242
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
dinov2/dinov2/eval/depth/models/depther/base.py:94
Methodforward
(self, x)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:26
Methodforward
(self, x)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:42
Methodforward
(self, inputs)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:101
Methodforward
(self, inputs)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:162
Methodforward
(self, *inputs)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:198
Methodforward
(self, inputs, img_metas)
dinov2/dinov2/eval/depth/models/decode_heads/dpt_head.py:260
Methodforward
Forward function.
dinov2/dinov2/eval/depth/models/decode_heads/linear_head.py:84
Methodforward
Forward function.
dinov2/dinov2/eval/depth/models/losses/sigloss.py:61
Methodforward
Forward function.
dinov2/dinov2/eval/depth/models/losses/gradientloss.py:65
Methodforward
Forward function.
dinov2/dinov2/eval/segmentation/models/decode_heads/linear_head.py:86
Methodforward
(self, x)
dinov2/dinov2/hub/utils.py:36
Methodforward
(self, x)
dinov2/dinov2/hub/classifiers.py:59
Methodforward
Forward function.
dinov2/dinov2/hub/depth/decode_heads.py:292
Methodforward
(self, x, activate=True, norm=True)
dinov2/dinov2/hub/depth/decode_heads.py:486
Methodforward
(self, x)
dinov2/dinov2/hub/depth/decode_heads.py:507
Methodforward
(self, x)
dinov2/dinov2/hub/depth/decode_heads.py:523
Methodforward
(self, inputs)
dinov2/dinov2/hub/depth/decode_heads.py:577
Methodforward
(self, inputs)
dinov2/dinov2/hub/depth/decode_heads.py:637
Methodforward
(self, *inputs)
dinov2/dinov2/hub/depth/decode_heads.py:676
Methodforward
(self, inputs, img_metas)
dinov2/dinov2/hub/depth/decode_heads.py:737
Methodforward
Calls either :func:`forward_train` or :func:`forward_test` depending on whether ``return_loss`` is ``True``. Note this setting will c
dinov2/dinov2/hub/depth/encoder_decoder.py:249
Methodforward
(self, img, is_training: bool)
dinov2/dinov2/hub/text/dinov2_wrapper.py:15
Methodforward
(self, token_indices: Tensor)
dinov2/dinov2/hub/text/text_transformer.py:60
Methodforward
(self, image_tokens: Tensor)
dinov2/dinov2/hub/text/vision_tower.py:89
Methodforward
(self, images: Tensor)
dinov2/dinov2/hub/text/vision_tower.py:157
Methodforward
(self, text_tokens: Tensor)
dinov2/dinov2/hub/text/text_tower.py:48
Methodforward
(self, token_indices: Tensor)
dinov2/dinov2/hub/text/text_tower.py:87
Methodforward
( self, image: Tensor, text: Tensor, )
dinov2/dinov2/hub/text/dinotxt_model.py:122
Methodforward
(self, x)
dinov2/dinov2/layers/drop_path.py:33
Methodforward
( self, x: torch.Tensor, )
dinov2/dinov2/layers/block.py:164
Methodforward
(self, x_or_x_list)
dinov2/dinov2/layers/block.py:308
Methodforward
(self, x)
dinov2/dinov2/layers/dino_head.py:36
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/layer_scale.py:33
Methodforward
(self, x: Tensor, attn_bias=None)
dinov2/dinov2/layers/attention.py:83
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/mlp.py:34
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/swiglu_ffn.py:30
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/swiglu_ffn.py:96
Methodforward
(self, x: Tensor)
dinov2/dinov2/layers/patch_embed.py:68
Methodforward
(self, x)
dinov2/dinov2/models/vision_transformer.py:39
Methodforward
(self, *args, is_training=False, **kwargs)
dinov2/dinov2/models/vision_transformer.py:325
Methodforward
Args: student_output (BxD): backbone output of student
dinov2/dinov2/loss/koleo_loss.py:38
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks. student_patch_tokens: (B, N, D) tensor teacher_pat
dinov2/dinov2/loss/ibot_patch_loss.py:92
Methodforward
Cross-entropy between softmax outputs of the teacher and student networks.
dinov2/dinov2/loss/dino_clstoken_loss.py:63
Methodforward
(self, inputs)
dinov2/dinov2/train/ssl_meta_arch.py:123
Methodforward_dummy
Dummy forward function.
dinov2/dinov2/eval/segmentation_m2f/models/segmentors/encoder_decoder_mask2former.py:113
Methodforward_dummy
Dummy forward function.
dinov2/dinov2/eval/depth/models/depther/encoder_decoder.py:99
Methodforward_dummy
Dummy forward function.
dinov2/dinov2/hub/depth/encoder_decoder.py:81
← previousnext →701–800 of 881, ranked by callers