MCPcopy Create free account

hub / github.com/microsoft/Cream / functions

Functions4,396 in github.com/microsoft/Cream

↓ 9 callersFunctionconv_1x1_bn
(inp, oup, groups=1, act_fn=nn.ReLU)
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:170
↓ 9 callersFunctioncreate_conv2d
Select a 2d convolution implementation based on arguments Creates and returns one of torch.nn.Conv2d, Conv2dSame, MixedConv2d, or CondConv2d.
CDARTS/CDARTS_segmentation/train/cydas.py:67
↓ 9 callersFunctioncreate_model
( model_name: str, pretrained: str = '', precision: str = 'fp32', device: torc
TinyCLIP/src/open_clip/factory.py:89
↓ 9 callersFunctiondelta2bbox
(rois, deltas, means=[0, 0, 0, 0], stds=[1, 1, 1, 1],
CDARTS/CDARTS_detection/mmdet/core/bbox/transforms.py:34
↓ 9 callersMethodextract_feat
(self, img)
CDARTS/CDARTS_detection/mmdet/models/detectors/rpn.py:35
↓ 9 callersMethodgenerate_genotype
(self, layer_idx=0)
CDARTS/lib/models/cdarts_controller.py:599
↓ 9 callersMethodget_bboxes
(self, det_bboxes, grid_pred, img_meta)
CDARTS/CDARTS_detection/mmdet/models/mask_heads/grid_head.py:294
↓ 9 callersMethodimread
(path)
MiniViT/Mini-Swin/data/zipreader.py:86
↓ 9 callersMethodmax
(self)
iRPE/DETR-with-iRPE/util/misc.py:72
↓ 9 callersMethodput
(self, key, val)
CDARTS/CDARTS_detection/mmcv/video/io.py:40
↓ 9 callersMethodsample
Sample positive and negative bboxes. This is a simple implementation of bbox sampling given candidates, assigning results and ground
CDARTS/CDARTS_detection/mmdet/core/bbox/samplers/base_sampler.py:31
↓ 9 callersMethodstart
Start the timer.
CDARTS/CDARTS_detection/mmcv/utils/timer.py:56
↓ 9 callersMethodupdate
(self, **kwargs)
iRPE/DETR-with-iRPE/util/misc.py:163
↓ 8 callersMethod__init__
(self, ed, h, resolution)
EfficientViT/downstream/efficientvit.py:113
↓ 8 callersMethod__init__
(self, ed, h, resolution)
EfficientViT/classification/model/efficientvit.py:93
↓ 8 callersMethod_print_log
(self, msg, level=logging.INFO, *args, **kwargs)
CDARTS/CDARTS_detection/mmcv/runner/hooks/logger/pavi.py:37
↓ 8 callersFunctionbbox2result
Convert detection results to a list of numpy arrays. Args: bboxes (Tensor): shape (n, 5) labels (Tensor): shape (n, ) num
CDARTS/CDARTS_detection/mmdet/core/bbox/transforms.py:138
↓ 8 callersFunctionbuild
(cfg, registry, default_args=None)
CDARTS/CDARTS_detection/mmdet/models/builder.py:8
↓ 8 callersFunctioncreate_conv2d
Select a 2d convolution implementation based on arguments Creates and returns one of torch.nn.Conv2d, Conv2dSame, MixedConv2d, or CondConv2d.
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet_builder.py:561
↓ 8 callersFunctionget_grad_norm
(parameters, norm_type=2)
MiniViT/Mini-Swin/utils.py:205
↓ 8 callersFunctionround_channels
Round number of filters based on depth multiplier.
CDARTS/CDARTS_detection/mmdet/models/backbones/builder.py:203
↓ 8 callersMethodupdate
(self)
CDARTS/CDARTS_detection/mmcv/utils/progressbar.py:43
↓ 7 callersMethod__init__
(self, C_in, C_out, stride)
CDARTS/benchmark201/models/ops.py:136
↓ 7 callersMethod__init__
(self, inplace: bool = False)
CDARTS/CDARTS_detection/mmdet/models/backbones/builder.py:23
↓ 7 callersMethod__init__
(self, inplace: bool = False)
CDARTS/CDARTS_segmentation/train/builder.py:23
↓ 7 callersFunction_check_args_tf
(kwargs)
TinyViT/data/augmentation/auto_augment.py:50
↓ 7 callersMethod_latency
(h, w, C_in, C_out, kernel_size=3, stride=1, padding=None, dilation=1, groups=1, bias=False)
CDARTS/CDARTS_segmentation/train/operations.py:135
↓ 7 callersFunction_stack
Creates a stack of inverted residuals.
CDARTS/CDARTS_segmentation/segmentation/model/backbone/mnasnet.py:59
↓ 7 callersFunctionbuild_dataloader
(dataset, imgs_per_gpu, workers_per_gpu, num_gp
CDARTS/CDARTS_detection/mmdet/datasets/loader/build_loader.py:16
↓ 7 callersFunctionbuild_detector
(cfg, train_cfg=None, test_cfg=None)
CDARTS/CDARTS_detection/mmdet/models/builder.py:42
↓ 7 callersFunctioncreate_transform
( input_size, is_training=False, use_prefetcher=False, no_aug=False, s
TinyViT/data/augmentation/transforms_factory.py:167
↓ 7 callersFunctioncutmix_bbox_and_lam
Generate bbox and apply lambda correction.
TinyViT/data/augmentation/mixup.py:78
↓ 7 callersFunctiondecode_segmap
Decode segmentation class labels into a color image Args: label_mask (np.ndarray): an (M,N) array of integer values denoting the
CDARTS/CDARTS_segmentation/dataloaders/dataloader_utils.py:14
↓ 7 callersMethodencode
(self, text)
TinyCLIP/src/open_clip/tokenizer.py:139
↓ 7 callersMethodget_det_bboxes
(self, rois, cls_score, bbox_pred,
CDARTS/CDARTS_detection/mmdet/models/bbox_heads/bbox_head.py:133
↓ 7 callersFunctionget_model_complexity_info
(model, input_res, print_per_layer_stat=True,
CDARTS/CDARTS_detection/mmdet/utils/flops_counter.py:50
↓ 7 callersMethodget_seg_masks
Get segmentation masks from mask_pred and bboxes. Args: mask_pred (Tensor or ndarray): shape (n, #class+1, h, w).
CDARTS/CDARTS_detection/mmdet/models/mask_heads/fcn_mask_head.py:123
↓ 7 callersMethodinit_arch_params
(self, layer_idx)
CDARTS/lib/models/cdarts_controller.py:546
↓ 7 callersFunctionloss_fn
(student_outputs, teacher_outputs)
TinyCLIP/src/training/train.py:161
↓ 7 callersMethodstate_dict
(self)
TinyViT/utils.py:323
↓ 7 callersMethodstep_update
(self, it)
TinyViT/tinyvit_utils.py:39
↓ 7 callersFunctionunmap
Unmap a subset of item (data) back to the original set of items (of size count)
CDARTS/CDARTS_detection/mmdet/core/anchor/anchor_target.py:176
↓ 7 callersFunctionxavier_init
(module, gain=1, bias=0, distribution='normal')
CDARTS/CDARTS_detection/mmcv/cnn/weight_init.py:10
↓ 6 callersMethod__init__
(self, input_size, in_channels, se_ratio)
CDARTS/CDARTS_detection/mmdet/models/necks/auto_neck/hit_ops.py:125
↓ 6 callersMethod__init__
(self, input_size, width_mult=1.0, activation_type='relu', single_scale=Fals
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:1862
↓ 6 callersMethod__init__
(self, input_size, in_channels, se_ratio)
CDARTS/CDARTS_detection/mmdet/models/bbox_heads/auto_head/mbblock_ops.py:93
↓ 6 callersMethod__init__
(self, by_epoch=True, warmup=None, warmup_iters=0,
CDARTS/CDARTS_detection/mmcv/runner/hooks/lr_updater.py:9
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
AutoFormerV2/model/SSS.py:8
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
MiniViT/Mini-Swin/models/swin_transformer.py:8
↓ 6 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0. )
MiniViT/Mini-Swin/models/swin_transformer_minivit.py:8
↓ 6 callersFunction_gen_efficientnet_condconv
Creates an EfficientNet-CondConv model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet/condconv
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:955
↓ 6 callersFunction_gen_efficientnet_edge
Creates an EfficientNet-EdgeTPU model Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/efficientnet/edgetpu
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:926
↓ 6 callersFunction_gen_mixnet_m
Creates a MixNet Medium-Large model. Ref impl: https://github.com/tensorflow/tpu/tree/master/models/official/mnasnet/mixnet Paper: https://ar
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:1059
↓ 6 callersFunction_get_params
(model)
TinyCLIP/src/training/main_for_test.py:53
↓ 6 callersFunction_get_params
(model)
TinyCLIP/src/training/main.py:57
↓ 6 callersMethod_load_checkpoint
(self, checkpoint_path)
CDARTS/CDARTS_segmentation/tools/utils/dist_utils.py:53
↓ 6 callersMethodaverage
Average latest n values or all values
CDARTS/CDARTS_detection/mmcv/runner/log_buffer.py:32
↓ 6 callersFunctionbuild_dataset
(is_train, args)
EfficientViT/classification/data/datasets.py:64
↓ 6 callersMethodcompute_metric
(self, results)
CDARTS/CDARTS_segmentation/tools/engine/evaluator.py:202
↓ 6 callersFunctionconvert_color_factory
(src, dst)
CDARTS/CDARTS_detection/mmcv/image/transforms/colorspace.py:47
↓ 6 callersFunctioncreate_conv2d
Select a 2d convolution implementation based on arguments Creates and returns one of torch.nn.Conv2d, Conv2dSame, MixedConv2d, or CondConv2d.
CDARTS/CDARTS_detection/mmdet/models/backbones/builder.py:367
↓ 6 callersFunctioncreate_conv2d
Select a 2d convolution implementation based on arguments Creates and returns one of torch.nn.Conv2d, Conv2dSame, MixedConv2d, or CondConv2d.
CDARTS/CDARTS_segmentation/train/builder.py:367
↓ 6 callersFunctioncreate_spatial_conv2d_group_bn_relu
(prefix, in_channels, out_channels, kernel_size, stride, padding=0, dilation=1, groups=1,
CDARTS/CDARTS_detection/mmdet/models/backbones/detnas.py:37
↓ 6 callersFunctiondeit_small_patch16_224
(pretrained=False, **kwargs)
iRPE/DeiT-with-iRPE/models.py:78
↓ 6 callersMethodfeat_mult
(self)
CDARTS/CDARTS_segmentation/train/cydas.py:59
↓ 6 callersFunctionget_logger
(log_dir=None, log_file=None, formatter=LogFormatter)
CDARTS/CDARTS_segmentation/tools/engine/logger.py:73
↓ 6 callersMethodget_lr
(self, runner, base_lr)
CDARTS/CDARTS_detection/mmcv/runner/hooks/lr_updater.py:39
↓ 6 callersFunctionget_state_dict
Returns a dictionary containing a whole state of the module. Both parameters and persistent buffers (e.g. running averages) are included. Key
EfficientViT/downstream/mmcv_custom/checkpoint.py:394
↓ 6 callersFunctioninit_weight
(module_list, conv_init, norm_layer, bn_eps, bn_momentum, **kwargs)
CDARTS/CDARTS_segmentation/tools/utils/init_func.py:23
↓ 6 callersFunctionis_supported_instance
(module)
CDARTS/CDARTS_detection/mmdet/utils/flops_counter.py:251
↓ 6 callersMethodload_state_dict
(self, *args, **kwargs)
TinyCLIP/src/training/optimizer.py:15
↓ 6 callersFunctionpad_image_to_shape
(img, shape, border_mode, value)
CDARTS/CDARTS_segmentation/tools/utils/img_utils.py:60
↓ 6 callersMethodparam_copy_plus
(self, target_model, model)
CDARTS/lib/models/cdarts_controller.py:308
↓ 6 callersFunctionpiecewise_index
piecewise index function defined in Eq. (18) in our paper. Parameters ---------- relative_position: torch.Tensor, dtype: long or float
iRPE/DeiT-with-iRPE/irpe.py:19
↓ 6 callersFunctionpiecewise_index
piecewise index function defined in Eq. (18) in our paper. Parameters ---------- relative_position: torch.Tensor, dtype: long or float
iRPE/DETR-with-iRPE/models/rpe_attention/irpe.py:19
↓ 6 callersFunctionpiecewise_index
piecewise index function defined in Eq. (18) in our paper. Parameters ---------- relative_position: torch.Tensor, dtype: long or float
MiniViT/Mini-DeiT/irpe.py:19
↓ 6 callersFunctionplot
make DAG plot and save to file_path as .png
CDARTS/lib/utils/visualize.py:7
↓ 6 callersFunctionprint_log
Print a log message. Args: msg (str): The message to be logged. logger (logging.Logger | str | None): The logger to be used. Some
CDARTS/CDARTS_detection/mmdet/utils/logger.py:43
↓ 6 callersFunctionreduce_tensor
(tensor, n)
CDARTS/CDARTS_segmentation/tools/utils/dist_utils.py:16
↓ 6 callersFunctionreplace_batchnorm
(net)
EfficientViT/downstream/efficientvit.py:73
↓ 6 callersFunctionreplace_batchnorm
(net)
EfficientViT/classification/model/build.py:173
↓ 6 callersFunctionround_channels
Round number of filters based on depth multiplier.
CDARTS/CDARTS_segmentation/train/builder.py:203
↓ 6 callersMethodsave_checkpoint
(self, out_dir, filename_tmpl='epoch_{}.pth',
CDARTS/CDARTS_detection/mmcv/runner/runner.py:245
↓ 6 callersMethodscore_loga
(self, loga)
TinyCLIP/src/open_clip/l0module.py:147
↓ 6 callersMethodset_sample_config
(self, config: dict)
AutoFormer/model/supernet_transformer.py:102
↓ 6 callersMethodsimple_test_rpn
(self, x, img_meta, rpn_test_cfg)
CDARTS/CDARTS_detection/mmdet/models/detectors/test_mixins.py:7
↓ 6 callersMethodupdate
(self, **kwargs)
iRPE/DeiT-with-iRPE/utils.py:85
↓ 6 callersMethodupdate
(self, val, n=1)
CDARTS/CDARTS_segmentation/segmentation/utils/utils.py:19
↓ 6 callersMethodupdate
(self, **kwargs)
MiniViT/Mini-DeiT/utils.py:83
↓ 6 callersMethodupdate
(self, **kwargs)
AutoFormer/lib/utils.py:78
↓ 6 callersFunctionweight_inherit
(student_state_dict, teacher_state_dict, head_dim)
TinyCLIP/src/open_clip/weight_inherit.py:71
↓ 6 callersMethodwith_pos_embed
(self, tensor, pos: Optional[Tensor])
iRPE/DETR-with-iRPE/models/transformer.py:273
↓ 5 callersMethod__init__
(self, args, input_size, in_channels, stride)
CDARTS/CDARTS_detection/mmdet/models/backbones/fbnet_blocks.py:46
↓ 5 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
MiniViT/Mini-Swin/models/swin_mlp.py:9
↓ 5 callersFunction_create_tiny_vit
(variant, pretrained=False, **kwargs)
TinyViT/models/tiny_vit.py:598
↓ 5 callersMethod_latency
(h, w, C_in, C_out=19)
CDARTS/CDARTS_segmentation/train/seg_oprs.py:263
↓ 5 callersFunction_ntuple
(n)
TinyCLIP/src/open_clip/utils.py:50
↓ 5 callersFunction_parse_ksize
(ss)
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet_builder.py:210
↓ 5 callersFunction_parse_ksize
(ss)
CDARTS/CDARTS_detection/mmdet/models/backbones/builder.py:210
↓ 5 callersFunction_parse_ksize
(ss)
CDARTS/CDARTS_segmentation/train/builder.py:210
← previousnext →101–200 of 4,396, ranked by callers