MCPcopy Create free account

hub / github.com/ShihaoZhaoZSH/Uni-ControlNet / functions

Functions2,265 in github.com/ShihaoZhaoZSH/Uni-ControlNet

Methodforward
(self, features, rois)
annotator/uniformer/mmcv/ops/point_sample.py:296
Methodforward
Args: target (Tensor): shape (B, N, 3), points set that needs to find the nearest neighbors. source (
annotator/uniformer/mmcv/ops/three_nn.py:19
Methodforward
(self, x)
annotator/uniformer/mmcv/ops/saconv.py:90
Methodforward
(ctx, features, masks, kernel_size, group_size, scale_factor)
annotator/uniformer/mmcv/ops/carafe.py:30
Methodforward
(self, features, masks)
annotator/uniformer/mmcv/ops/carafe.py:95
Methodforward
(ctx, features, masks, kernel_size, group_size, scale_factor)
annotator/uniformer/mmcv/ops/carafe.py:113
Methodforward
(self, features, masks)
annotator/uniformer/mmcv/ops/carafe.py:203
Methodforward
(self, x)
annotator/uniformer/mmcv/ops/carafe.py:281
Methodforward
Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. features (Tensor): (B, C, N) Descriptors of the
annotator/uniformer/mmcv/ops/points_sampler.py:92
Methodforward
Sampling points with D-FPS.
annotator/uniformer/mmcv/ops/points_sampler.py:139
Methodforward
Sampling points with F-FPS.
annotator/uniformer/mmcv/ops/points_sampler.py:151
Methodforward
Sampling points with FS_Sampling.
annotator/uniformer/mmcv/ops/points_sampler.py:168
Methodforward
(ctx, input, boxes, pool_size)
annotator/uniformer/mmcv/ops/border_align.py:24
Methodforward
Args: input: Features with shape [N,4C,H,W]. Channels ranged in [0,C), [C,2C), [2C,3C), [3C,4C) represent the top
annotator/uniformer/mmcv/ops/border_align.py:92
Methodforward
Args: features (Tensor): (B, C, M) Features descriptors to be interpolated indices (Tensor): (B, n, 3
annotator/uniformer/mmcv/ops/three_interpolate.py:20
Methodforward
(ctx, bboxes, scores, iou_threshold, offset, score_threshold, max_num)
annotator/uniformer/mmcv/ops/nms.py:17
Methodforward
(ctx, boxes, scores, iou_threshold, sigma, min_score, method, offset)
annotator/uniformer/mmcv/ops/nms.py:85
Methodforward
Convert kitti points(N, >=3) to voxels. Args: points (torch.Tensor): [N, ndim]. Points[:, :3] contain xyz points
annotator/uniformer/mmcv/ops/voxelize.py:16
Methodforward
(self, input)
annotator/uniformer/mmcv/ops/voxelize.py:116
Methodforward
(ctx, input, offset, mask, weight,
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:37
Methodforward
(self, x, offset, mask)
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:201
Methodforward
(self, x)
annotator/uniformer/mmcv/ops/modulated_deform_conv.py:246
Methodforward
(ctx, features, mask, weight, bias, padding=0, stride=1)
annotator/uniformer/mmcv/ops/masked_conv.py:30
Methodforward
(self, input, mask=None)
annotator/uniformer/mmcv/ops/masked_conv.py:106
Methodforward
(ctx, input1, input2, kernel_size=1, max_displ
annotator/uniformer/mmcv/ops/correlation.py:17
Methodforward
(self, input1: Tensor, input2: Tensor)
annotator/uniformer/mmcv/ops/correlation.py:182
Methodforward
(ctx, input, psa_type, mask_size)
annotator/uniformer/mmcv/ops/psa_mask.py:23
Methodforward
(self, input)
annotator/uniformer/mmcv/ops/psa_mask.py:85
Methodforward
Args: scores (torch.Tensor): (B, npoint, K, M), predicted scores to aggregate weight matrices in the weight bank.
annotator/uniformer/mmcv/ops/assign_score_withk.py:29
Methodforward
(ctx, input, shift)
annotator/uniformer/mmcv/ops/tin_shift.py:20
Methodforward
Perform temporal interlace shift. Args: input (Tensor): Feature map with shape [N, num_segments, C, H * W]. shift (Te
annotator/uniformer/mmcv/ops/tin_shift.py:58
Methodforward
(ctx, input)
annotator/uniformer/mmcv/ops/corner_pool.py:26
Methodforward
(ctx, input)
annotator/uniformer/mmcv/ops/corner_pool.py:47
Methodforward
(ctx, input)
annotator/uniformer/mmcv/ops/corner_pool.py:68
Methodforward
(ctx, input)
annotator/uniformer/mmcv/ops/corner_pool.py:89
Methodforward
(self, x)
annotator/uniformer/mmcv/ops/corner_pool.py:142
Methodforward
(ctx, input, rois, output_size, spatial_scale=
annotator/uniformer/mmcv/ops/roi_align.py:64
Methodforward
Args: input: NCHW images rois: Bx5 boxes. First column is the index into N.\ The other 4 columns are
annotator/uniformer/mmcv/ops/roi_align.py:192
Methodforward
(ctx, input, offset, weight, stride=1,
annotator/uniformer/mmcv/ops/deform_conv.py:50
Methodforward
Deformable Convolutional forward function. Args: x (Tensor): Input feature, shape (B, C_in, H_in, W_in) offset (Tenso
annotator/uniformer/mmcv/ops/deform_conv.py:276
Methodforward
(self, x)
annotator/uniformer/mmcv/ops/deform_conv.py:374
Methodforward
convert kitti points(N, >=3) to voxels. Args: feats (torch.Tensor): [N, C]. Points features to be reduced into vo
annotator/uniformer/mmcv/ops/scatter_points.py:16
Methodforward
Scatters points/features into voxels. Args: points (torch.Tensor): Points to be reduced into voxels. coors (torch.Ten
annotator/uniformer/mmcv/ops/scatter_points.py:98
Methodforward
(ctx, input, rois, offset, output_size,
annotator/uniformer/mmcv/ops/deform_roi_pool.py:30
Methodforward
(self, input, rois, offset=None)
annotator/uniformer/mmcv/ops/deform_roi_pool.py:105
Methodforward
(self, input, rois)
annotator/uniformer/mmcv/ops/deform_roi_pool.py:138
Methodforward
(self, input, rois)
annotator/uniformer/mmcv/ops/deform_roi_pool.py:190
Methodforward
(ctx, grad_output, kernel, grad_kernel, up, down, pad, g_pad, in_size, out_size)
annotator/uniformer/mmcv/ops/upfirdn2d.py:111
Methodforward
(ctx, input, kernel, up, down, pad)
annotator/uniformer/mmcv/ops/upfirdn2d.py:180
Methodforward
Args: min_radius (float): minimum radius of the balls. max_radius (float): maximum radius of the balls. s
annotator/uniformer/mmcv/ops/ball_query.py:14
Methodforward
Args: rois (torch.Tensor): [N, 7], in LiDAR coordinate, (x, y, z) is the bottom center of rois. pts (
annotator/uniformer/mmcv/ops/roiaware_pool3d.py:37
Methodforward
Args: rois (torch.Tensor): [N, 7], in LiDAR coordinate, (x, y, z) is the bottom center of rois. pts (
annotator/uniformer/mmcv/ops/roiaware_pool3d.py:57
Methodforward
Args: points (torch.Tensor): Input points whose shape is (B, N, C). point_features (torch.Tensor): Features of input
annotator/uniformer/mmcv/ops/roipoint_pool3d.py:24
Methodforward
Args: points (torch.Tensor): Input points whose shape is (B, N, C). point_features (torch.Tensor): Features of input
annotator/uniformer/mmcv/ops/roipoint_pool3d.py:44
Methodforward
(self, input, running_mean, running_var, weight, bias, momentum, eps, group, group_size, stats
annotator/uniformer/mmcv/ops/sync_bn.py:38
Methodforward
(self, input)
annotator/uniformer/mmcv/ops/sync_bn.py:242
Methodforward
Args: k (int): number of nearest neighbors. xyz (Tensor): (B, N, 3) if transposed == False, else (B, 3, N).
annotator/uniformer/mmcv/ops/knn.py:18
Methodforward
(self, x1, x2, out_size=None)
annotator/uniformer/mmcv/ops/merge_cells.py:103
Methodforward
(ctx, grad_output, out, negative_slope, scale)
annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:116
Methodforward
(ctx, input, bias, negative_slope, scale)
annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:163
Methodforward
(self, input)
annotator/uniformer/mmcv/ops/fused_bias_leakyrelu.py:220
Methodforward
Args: points_xyz (Tensor): (B, N, 3) where N > num_points. num_points (int): Number of points in the sampled set.
annotator/uniformer/mmcv/ops/furthest_point_sample.py:17
Methodforward
Args: points_dist (Tensor): (B, N, N) Distance between each point pair. num_points (int): Number of points in the sam
annotator/uniformer/mmcv/ops/furthest_point_sample.py:55
Methodforward
(ctx, features, rois, out_size, spatial_scale,
annotator/uniformer/mmcv/ops/roi_align_rotated.py:39
Methodforward
(self, features, rois)
annotator/uniformer/mmcv/ops/roi_align_rotated.py:173
Methodforward
forward function of Criss-Cross Attention. Args: x (Tensor): Input feature. \ shape (batch_size, in_channels, hei
annotator/uniformer/mmcv/ops/cc_attention.py:52
Methodforward
(ctx, input, rois, output_size, spatial_scale=1.0)
annotator/uniformer/mmcv/ops/roi_pool.py:26
Methodforward
(self, input, rois)
annotator/uniformer/mmcv/ops/roi_pool.py:79
Methodforward
(ctx, input, target, gamma=2.0, alpha=0.25,
annotator/uniformer/mmcv/ops/focal_loss.py:29
Methodforward
(self, input, target)
annotator/uniformer/mmcv/ops/focal_loss.py:97
Methodforward
(ctx, input, target, gamma=2.0, alpha=0.25,
annotator/uniformer/mmcv/ops/focal_loss.py:123
Methodforward
(self, input, target)
annotator/uniformer/mmcv/ops/focal_loss.py:203
Methodforward
Args: features (Tensor): (B, C, N) features to gather. indices (Tensor): (B, M) where M is the number of points.
annotator/uniformer/mmcv/ops/gather_points.py:14
Methodforward
GPU version of multi-scale deformable attention. Args: value (Tensor): The value has shape (bs, num_keys, mum_hea
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:23
Methodforward
Forward Function of MultiScaleDeformAttention. Args: query (Tensor): Query of Transformer with shape (num_query,
annotator/uniformer/mmcv/ops/multi_scale_deform_attn.py:252
Methodforward
Args: points_xyz (Tensor): (B, N, 3) xyz coordinates of the features. center_xyz (Tensor): (B, npoint, 3) coordinates
annotator/uniformer/mmcv/ops/group_points.py:67
Methodforward
Args: xyz (Tensor): (B, N, 3) xyz coordinates of the features. new_xyz (Tensor): new xyz coordinates of the features.
annotator/uniformer/mmcv/ops/group_points.py:145
Methodforward
Args: features (Tensor): (B, C, N) tensor of features to group. indices (Tensor): (B, npoint, nsample) the indices of
annotator/uniformer/mmcv/ops/group_points.py:177
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/alexnet.py:54
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/vgg.py:141
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:45
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:110
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/resnet.py:279
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/drop.py:43
Methodforward
(self, x_input)
annotator/uniformer/mmcv/cnn/bricks/generalized_attention.py:216
Methodforward
(self, x, activate=True, norm=True)
annotator/uniformer/mmcv/cnn/bricks/conv_module.py:196
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:49
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv_ws.py:109
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/context_block.py:111
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/upsample.py:44
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/depthwise_separable_conv_module.py:93
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/hsigmoid.py:31
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/swish.py:24
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/scale.py:20
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/non_local.py:160
Methodforward
(self, x)
annotator/uniformer/mmcv/cnn/bricks/conv2d_adaptive_padding.py:45
Methodforward
Forward function for `MultiheadAttention`. **kwargs allow passing a more general data flow when combining with other operations in `t
annotator/uniformer/mmcv/cnn/bricks/transformer.py:112
Methodforward
Forward function for `FFN`. The function would add x to the output tensor if residue is None.
annotator/uniformer/mmcv/cnn/bricks/transformer.py:269
Methodforward
Forward function for `TransformerDecoderLayer`. **kwargs contains some specific arguments of attentions. Args: query (Te
annotator/uniformer/mmcv/cnn/bricks/transformer.py:412
Methodforward
Forward function for `TransformerCoder`. Args: query (Tensor): Input query with shape `(num_queries, bs, embed_di
annotator/uniformer/mmcv/cnn/bricks/transformer.py:549
← previousnext →1,701–1,800 of 2,265, ranked by callers