MCPcopy Create free account

hub / github.com/VDIGPKU/HENet / functions

Functions6,925 in github.com/VDIGPKU/HENet

Methodforward
Forward function. Args: features (torch.Tensor): Point features or raw points in shape (N, M, C). coo
mmdet3d/models/voxel_encoders/pillar_encoder.py:276
Methodforward
Forward function. Args: img_feats (list[torch.Tensor]): Image features. pts: [list[torch.Tensor]]: A batch of points
mmdet3d/models/fusion_layers/point_fusion.py:210
Methodforward
Forward function. Args: imgs (list[torch.Tensor]): Image features. bboxes_2d_rescaled (list[torch.Tensor]): 2D bboxes
mmdet3d/models/fusion_layers/vote_fusion.py:26
Methodforward
Forward function of loss calculation. Args: modules (List[nn.Module] | :obj:`generator`): A list or a python gene
mmdet3d/models/losses/paconv_regularization_loss.py:90
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet3d/models/losses/uncertain_smooth_l1_loss.py:87
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet3d/models/losses/uncertain_smooth_l1_loss.py:144
Methodforward
Forward computation. Args: preds_S (torch.Tensor | Tuple[torch.Tensor]): The student model prediction. If tuple,
mmdet3d/models/losses/pkd_loss.py:53
Methodforward
Forward function of loss calculation. Args: pred (torch.Tensor): Bbox predictions with shape [..., 6] (x1, y1, z1
mmdet3d/models/losses/axis_aligned_iou_loss.py:46
Methodforward
Forward function of loss calculation. Args: source (torch.Tensor): Source set with shape [B, N, C] to calculate C
mmdet3d/models/losses/chamfer_distance.py:102
Methodforward
(self, stage_instance_preds, stage_instance_targets)
mmdet3d/models/losses/cross_entropy_loss.py:58
Methodforward
Forward function. Args: cls_score (torch.Tensor): The prediction. label (torch.Tensor): The learning label of the pre
mmdet3d/models/losses/cross_entropy_loss.py:349
Methodforward
Forward function. Args: pred (torch.Tensor): The prediction. target (torch.Tensor): The learning target of the predic
mmdet3d/models/losses/multibin_loss.py:77
Methodforward
Forward computation. Args: preds_S (torch.Tensor): The student model prediction with shape (N, C, H, W).
mmdet3d/models/losses/unidistill_loss.py:24
Methodforward
Forward function of loss calculation. Args: pred (torch.Tensor): Bbox predictions with shape [..., 7] (x, y, z, w
mmdet3d/models/losses/rotated_iou_loss.py:44
Methodforward
( self, pixel_values: torch.FloatTensor, input_ids: torch.LongTensor = Non
mmdet3d/models/internvl_model/internvl_chat/modeling_internvl_chat.py:111
Methodforward
(self, hidden_states)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:39
Methodforward
(self, pixel_values: torch.FloatTensor)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:96
Methodforward
(self, hidden_states: torch.Tensor)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:180
Methodforward
(self, hidden_states: torch.Tensor)
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:193
Methodforward
Args: hidden_states (`Tuple[torch.FloatTensor, Optional[torch.FloatTensor]]`): input to the layer of shape `(batch, seq_len, embe
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:217
Methodforward
r""" Args: inputs_embeds (`torch.FloatTensor` of shape `(batch_size, sequence_length, hidden_size)`): Embedded rep
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:251
Methodforward
( self, pixel_values: Optional[torch.FloatTensor] = None, output_hidden_st
mmdet3d/models/internvl_model/internvl_chat/modeling_intern_vit.py:325
Methodforward
Implements the multihead softmax attention. Arguments --------- qkv: The tensor containing the query, key, and value. (B,
mmdet3d/models/internvl_model/internvl_chat/flash_attention.py:31
Methodforward
(self, hidden_states)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:85
Methodforward
(self, x, position_ids, seq_len=None)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:117
Methodforward
(self, x, position_ids, seq_len=None)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:146
Methodforward
(self, x, position_ids, seq_len=None)
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:187
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:340
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTensor] = None
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:438
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:741
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor] = None,
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:843
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch.Tensor] = N
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:1058
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:1235
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:1423
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
mmdet3d/models/internvl_model/phi3/modeling_phi3.py:1546
Methodforward
(self, hidden_states)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:138
Methodforward
(self, x, seq_len=None)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:172
Methodforward
(self, x)
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:261
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.Tensor
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:341
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: Optional[torch.LongTe
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:437
Methodforward
Args: hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)` attention_mask (
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:621
Methodforward
( self, input_ids: torch.LongTensor = None, attention_mask: Optional[torch
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:853
Methodforward
r""" Args: labels (`torch.LongTensor` of shape `(batch_size, sequence_length)`, *optional*): Labels for computing
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1021
Methodforward
r""" labels (`torch.LongTensor` of shape `(batch_size,)`, *optional*): Labels for computing the sequence classification/regression
mmdet3d/models/internvl_model/internlm2/modeling_internlm2.py:1327
Methodforward
Args: x (list[Tensor]): A list of feature maps of NCHW shape, with scales matching those used to construct this m
detr2/detectron2/modeling/poolers.py:185
Methodforward
(self, x)
detr2/detectron2/modeling/mmdet_wrapper.py:102
Methodforward
(self, batched_inputs: List[Dict[str, torch.Tensor]])
detr2/detectron2/modeling/mmdet_wrapper.py:158
Methodforward
Args: features (list[Tensor]): list of backbone feature maps on which to generate anchors. Returns: list[Box
detr2/detectron2/modeling/anchor_generator.py:214
Methodforward
Args: features (list[Tensor]): list of backbone feature maps on which to generate anchors. Returns: list[Rot
detr2/detectron2/modeling/anchor_generator.py:361
Methodforward
Args: input (dict[str->Tensor]): mapping feature map name (e.g., "res5") to feature map tensor for each feature l
detr2/detectron2/modeling/backbone/fpn.py:113
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/fpn.py:186
Methodforward
(self, c5)
detr2/detectron2/modeling/backbone/fpn.py:205
Methodforward
Subclasses must override this method, but adhere to the same return type. Returns: dict[str->Tensor]: mapping from featu
detr2/detectron2/modeling/backbone/backbone.py:22
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/resnet.py:85
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/resnet.py:194
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/resnet.py:303
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/resnet.py:355
Methodforward
Args: x: Tensor of shape (N,C,H,W). H, W must be a multiple of ``self.size_divisibility``. Returns: dict[str
detr2/detectron2/modeling/backbone/resnet.py:435
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:70
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:85
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:104
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:120
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:138
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:156
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:180
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:198
Methodforward
(self, x)
detr2/detectron2/modeling/backbone/regnet.py:213
Methodforward
Args: x: Tensor of shape (N,C,H,W). H, W must be a multiple of ``self.size_divisibility``. Returns: dict[str
detr2/detectron2/modeling/backbone/regnet.py:305
Methodforward
Args: x: input 4D region feature(s) provided by :class:`ROIHeads`. instances (list[Instances]): contains the boxes &
detr2/detectron2/modeling/roi_heads/keypoint_head.py:179
Methodforward
(self, x)
detr2/detectron2/modeling/roi_heads/box_head.py:94
Methodforward
Args: x: per-region features of shape (N, ...) for N bounding boxes to predict. Returns: (Tensor, Tensor):
detr2/detectron2/modeling/roi_heads/fast_rcnn.py:259
Methodforward
Args: images (ImageList): features (dict[str,Tensor]): input data as a mapping from feature map name
detr2/detectron2/modeling/roi_heads/roi_heads.py:304
Methodforward
See :meth:`ROIHeads.forward`.
detr2/detectron2/modeling/roi_heads/roi_heads.py:459
Methodforward
See :class:`ROIHeads.forward`.
detr2/detectron2/modeling/roi_heads/roi_heads.py:722
Methodforward
Args: x: input region feature(s) provided by :class:`ROIHeads`. instances (list[Instances]): contains the boxes & lab
detr2/detectron2/modeling/roi_heads/mask_head.py:177
Methodforward
(ctx, input, scale)
detr2/detectron2/modeling/roi_heads/cascade_rcnn.py:22
Methodforward
(self, images, features, proposals, targets=None)
detr2/detectron2/modeling/roi_heads/cascade_rcnn.py:137
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper` . Each item in the list contains the inpu
detr2/detectron2/modeling/meta_arch/rcnn.py:122
Methodforward
Args: Same as in :class:`GeneralizedRCNN.forward` Returns: list[dict]: Each dict is the outp
detr2/detectron2/modeling/meta_arch/rcnn.py:288
Methodforward
(self, features)
detr2/detectron2/modeling/meta_arch/fcos.py:321
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper` . Each item in the list contains the inpu
detr2/detectron2/modeling/meta_arch/dense_detector.py:72
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper`. Each item in the list contains the input
detr2/detectron2/modeling/meta_arch/semantic_seg.py:76
Methodforward
Returns: In training, returns (None, dict of losses) In inference, returns (CxHxW logits, {})
detr2/detectron2/modeling/meta_arch/semantic_seg.py:224
Methodforward
Arguments: features (list[Tensor]): FPN feature map tensors in high to low resolution. Each tensor in the list co
detr2/detectron2/modeling/meta_arch/retinanet.py:417
Methodforward
Args: batched_inputs: a list, batched outputs of :class:`DatasetMapper`. Each item in the list contains the input
detr2/detectron2/modeling/meta_arch/panoptic_fpn.py:90
Methodforward
Args: features (list[Tensor]): list of feature maps Returns: list[Tensor]: A list of L elements.
detr2/detectron2/modeling/proposal_generator/rpn.py:158
Methodforward
Args: images (ImageList): input images of length `N` features (dict[str, Tensor]): input data as a mapping from featu
detr2/detectron2/modeling/proposal_generator/rpn.py:431
Methodforward
(self, x)
detr2/detectron2/layers/blocks.py:110
Methodforward
Args: input: NCHW images rois: Bx5 boxes. First column is the index into N. The other 4 columns are xyxy.
detr2/detectron2/layers/roi_align.py:49
Methodforward
( ctx, input, offset, weight, stride=1, padding=0, dil
detr2/detectron2/layers/deform_conv.py:18
Methodforward
( ctx, input, offset, mask, weight, bias=None, stride=
detr2/detectron2/layers/deform_conv.py:189
Methodforward
(self, x, offset)
detr2/detectron2/layers/deform_conv.py:369
Methodforward
(self, x, offset, mask)
detr2/detectron2/layers/deform_conv.py:463
Methodforward
(self, input)
detr2/detectron2/layers/batch_norm.py:184
Methodforward
(self, x)
detr2/detectron2/layers/batch_norm.py:264
Methodforward
(ctx, input, roi, output_size, spatial_scale, sampling_ratio)
detr2/detectron2/layers/roi_align_rotated.py:11
Methodforward
Args: input: NCHW images rois: Bx6 boxes. First column is the index into N. The other 5 columns are (
detr2/detectron2/layers/roi_align_rotated.py:69
Methodforward
(ctx, x, new_shape)
detr2/detectron2/layers/wrappers.py:60
Methodforward
(self, x)
detr2/detectron2/layers/wrappers.py:92
Methodforward
Args: inputs (tuple[torch.Tensor]) Returns: tuple[torch.Tensor]
detr2/detectron2/export/caffe2_inference.py:71
← previousnext →5,601–5,700 of 6,925, ranked by callers