MCPcopy Create free account

hub / github.com/NVlabs/DoRA / functions

Functions2,507 in github.com/NVlabs/DoRA

Methodforward
(self, task)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_utils.py:86
Methodforward
Retrieves the adapter layer corresponding to the given task. It freezes the adapter layers for all the other tasks and call t
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:111
Methodforward
(self, inputs)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:150
Methodforward
(self, inputs)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:171
Methodforward
(self, inputs, adapter_weights)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_controller.py:217
Methodforward
(self, task_embedding)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:28
Methodforward
(self, embeddings)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:48
Methodforward
(self, task_embedding, layer_id)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:119
Methodforward
(self, task_embedding, layer_id)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_hypernetwork.py:214
Methodforward
(self, x)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:26
Methodforward
(self, x)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:52
Methodforward
(self, x)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:77
Methodforward
(self, x)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/adapter_modeling.py:127
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/low_rank_layer.py:34
Methodforward
(self, x: torch.Tensor, phm_rule: Union[None, nn.ParameterList] = None)
image_video_text_understanding/CLIP-ViL/src/lxrt/adapters/hypercomplex/layers.py:167
Methodforward
b -- batch_size, o -- object_number, f -- visual_feature_size :param feat: (b, o, f) :param pos: (b, o, 4) :param s
image_video_text_understanding/CLIP-ViL/src/tasks/gqa_model.py:31
Methodforward
b -- batch_size, o -- object_number, f -- visual_feature_size :param feat: (b, o, f) :param pos: (b, o, 4) :param s
image_video_text_understanding/CLIP-ViL/src/tasks/vqa_model.py:36
Methodforward
(self, inputs_tuple)
image_video_text_understanding/feature_extraction/coco_CLIP.py:62
Methodforward
(ctx, x, new_shape)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:406
Methodforward
(self, x)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:712
Methodforward
(self, x)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:753
Methodforward
(self, c5)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:769
Methodforward
(self, x)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:790
Methodforward
(self, x)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:881
Methodforward
(self)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:905
Methodforward
(self, x)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:992
Methodforward
Args: feature_maps: List[torch.Tensor(N,C,W,H)] box_lists: list[torch.Tensor]) Returns: A tensor
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1092
Methodforward
(self, features, proposal_boxes, gt_boxes=None)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1336
Methodforward
Args: features List[torch.Tensor]: list of feature maps on which to generate anchors. Returns: torch.Tensor:
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1430
Methodforward
Args: features (list[Tensor]): list of feature maps
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1484
Methodforward
(self, roi_features)
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1642
Methodforward
kwargs: max_detections (int), return_tensors {"np", "pt", None}, padding {None, "max_detections"}, pad_value (int), l
image_video_text_understanding/VL-T5/inference/modeling_frcnn.py:1832
Methodforward
(self, inputs)
image_video_text_understanding/VL-T5/src/modeling_bart.py:72
Methodforward
Args feats: [B, N, feat_dim] pos: [B, N, 4] (x1, x2, y1, y2) Return relative_vis_
image_video_text_understanding/VL-T5/src/modeling_bart.py:142
Methodforward
Args feats: [B, N, feat_dim] pos: [B, N, 4] (x1, x2, y1, y2) Return relative_vis_
image_video_text_understanding/VL-T5/src/modeling_bart.py:247
Methodforward
Args feats: [B, N, feat_dim] pos: [B, N, 4] (x1, x2, y1, y2) Return relative_vis_
image_video_text_understanding/VL-T5/src/modeling_bart.py:361
Methodforward
(self, inputs_tuple)
image_video_text_understanding/VL-T5/src/modeling_bart.py:439
Methodforward
(self, inputs_tuple)
image_video_text_understanding/VL-T5/src/modeling_bart.py:494
Methodforward
(self, inputs)
image_video_text_understanding/VL-T5/src/modeling_bart.py:536
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_bart.py:589
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_bart.py:779
Methodforward
r""" Args: input_ids (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`): Indices of input seq
image_video_text_understanding/VL-T5/src/modeling_bart.py:958
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_bart.py:1195
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_bart.py:1375
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:93
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:313
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_prefix_bart.py:440
Methodforward
(self, *args, **kwargs)
image_video_text_understanding/VL-T5/src/pretrain_model.py:314
Methodforward
(self, image)
image_video_text_understanding/VL-T5/src/vis_encoder.py:312
Methodforward
(self, input: torch.Tensor)
image_video_text_understanding/VL-T5/src/trainer_base.py:103
Methodforward
(self, input: torch.Tensor)
image_video_text_understanding/VL-T5/src/trainer_base.py:149
Methodforward
Args feats: [B, N, feat_dim] pos: [B, N, 4] (x1, x2, y1, y2) Return relative_vis_
image_video_text_understanding/VL-T5/src/modeling_t5.py:124
Methodforward
( self, input_ids=None, attention_mask=None, vis_inputs=None, vis_att
image_video_text_understanding/VL-T5/src/modeling_t5.py:212
Methodforward
( self, input_ids=None, attention_mask=None, encoder_outputs=None, vi
image_video_text_understanding/VL-T5/src/modeling_t5.py:548
Methodforward
Retrieves the adapter layer corresponding to the given task. It freezes the adapter layers for all the other tasks and call t
image_video_text_understanding/VL-T5/src/prompt/prompt_controller.py:60
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/lora/layers.py:78
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/lora/layers.py:246
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/lora/layers.py:315
Methodforward
(self, x, task)
image_video_text_understanding/VL-T5/src/lora/controller.py:56
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:65
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/clip/model.py:129
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/clip/model.py:206
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/clip/model.py:275
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:298
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:305
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:327
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:340
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/clip/model.py:361
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:12
Methodforward
(self, task_embedding)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:41
Methodforward
(self, input)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:56
Methodforward
(self, task)
image_video_text_understanding/VL-T5/src/adapters/adapter_utils.py:86
Methodforward
Retrieves the adapter layer corresponding to the given task. It freezes the adapter layers for all the other tasks and call t
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:131
Methodforward
(self, inputs)
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:170
Methodforward
(self, inputs)
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:191
Methodforward
(self, inputs, adapter_weights)
image_video_text_understanding/VL-T5/src/adapters/adapter_controller.py:237
Methodforward
(self, task_embedding)
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:28
Methodforward
(self, embeddings)
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:48
Methodforward
(self, task_embedding, layer_id)
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:119
Methodforward
(self, task_embedding, layer_id)
image_video_text_understanding/VL-T5/src/adapters/adapter_hypernetwork.py:214
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:27
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:52
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:75
Methodforward
(self, x)
image_video_text_understanding/VL-T5/src/adapters/adapter_modeling.py:127
Methodforward
(self, x: torch.Tensor)
image_video_text_understanding/VL-T5/src/adapters/low_rank_layer.py:34
Methodforward
(self, x: torch.Tensor, phm_rule: Union[None, nn.ParameterList] = None)
image_video_text_understanding/VL-T5/src/adapters/hypercomplex/layers.py:167
Methodforward
`input_ids_shape` is expected to be [bsz x seqlen].
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:132
Methodforward
Input shape: Batch x Time x Channel
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:171
Methodforward
Input shape: Batch x Time x Channel
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:314
Methodforward
Args: hidden_states (:obj:`torch.FloatTensor`): input to the layer of shape `(seq_len, batch, embed_dim)` attention_m
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:464
Methodforward
Args: hidden_states (:obj:`torch.FloatTensor`): input to the layer of shape `(seq_len, batch, embed_dim)` attention_m
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:591
Methodforward
(self, hidden_states: torch.Tensor)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:734
Methodforward
r""" Args: input_ids (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`): Indices of input seq
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:927
Methodforward
r""" Args: input_ids (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`): Indices of input seq
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1093
Methodforward
r""" labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size, sequence_length)`, `optional`): Labels for computing the masked l
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1460
Methodforward
r""" labels (:obj:`torch.LongTensor` of shape :obj:`(batch_size,)`, `optional`): Labels for computing the sequence classification/
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1599
Methodforward
r""" start_positions (:obj:`torch.LongTensor` of shape :obj:`(batch_size,)`, `optional`): Labels for position (index) of the start
image_video_text_understanding/VL-T5/src/my_transformers/modeling_bart.py:1700
Methodforward
(self, hidden_states)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:241
Methodforward
(self, hidden_states)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:259
Methodforward
(self, hidden_states)
image_video_text_understanding/VL-T5/src/my_transformers/modeling_t5.py:276
← previousnext →1,901–2,000 of 2,507, ranked by callers