Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/Cream
/ types & classes
Types & classes
813 in github.com/microsoft/Cream
⨍
Functions
4,396
◇
Types & classes
813
↓ 75 callers
Class
SubPolicy
CDARTS/benchmark201/datasets/data_utils.py:292
↓ 75 callers
Class
SubPolicy
CDARTS/lib/datasets/data_utils.py:292
↓ 41 callers
Class
ConvModule
Conv-Norm-Activation block. Args: in_channels (int): Same as nn.Conv2d. out_channels (int): Same as nn.Conv2d. kernel_siz
CDARTS/CDARTS_detection/mmdet/models/utils/conv_module.py:46
↓ 23 callers
Class
BatchNorm2d
For torch < 1.4 A wrapper around :class:`torch.nn.BatchNorm2d` to support zero-size tensor.
CDARTS/CDARTS_segmentation/train/layers.py:18
↓ 21 callers
Class
AverageMeter
Computes and stores the average and current value
CDARTS/lib/utils/utils.py:13
↓ 21 callers
Class
XceptionBlock
CDARTS/CDARTS_segmentation/segmentation/model/backbone/xception.py:50
↓ 20 callers
Class
AverageMeter
Computes and stores the average and current value
TinyViT/my_meter.py:18
↓ 20 callers
Class
AverageMeter
Computes and stores the average and current value
MiniViT/Mini-Swin/my_meter.py:5
↓ 19 callers
Class
MBBlock
CDARTS/CDARTS_detection/mmdet/models/backbones/fbnet_blocks.py:128
↓ 18 callers
Class
USConv2d
CDARTS/CDARTS_segmentation/train/slimmable_ops.py:23
↓ 16 callers
Class
Conv2d_BN
EfficientViT/downstream/efficientvit.py:24
↓ 16 callers
Class
Conv2d_BN
EfficientViT/classification/model/efficientvit.py:13
↓ 15 callers
Class
MBBlock
CDARTS/CDARTS_detection/mmdet/models/necks/auto_neck/hit_ops.py:189
↓ 15 callers
Class
USBatchNorm2d
CDARTS/CDARTS_segmentation/train/slimmable_ops.py:53
↓ 14 callers
Class
MBBlock
CDARTS/CDARTS_detection/mmdet/models/bbox_heads/auto_head/mbblock_ops.py:136
↓ 13 callers
Class
ConvBnRelu
CDARTS/CDARTS_segmentation/train/seg_oprs.py:24
↓ 9 callers
Class
Conv2d_BN
TinyViT/models/tiny_vit.py:28
↓ 9 callers
Class
ConvBNReLU
CDARTS/CDARTS_detection/mmdet/models/bbox_heads/auto_head/mbblock_ops.py:62
↓ 9 callers
Class
ConvNorm
conv => norm => activation use native nn.Conv2d, not slimmable
CDARTS/CDARTS_segmentation/train/operations.py:79
↓ 9 callers
Class
DropPath
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks).
AutoFormer/model/utils.py:91
↓ 9 callers
Class
Registry
CDARTS/CDARTS_detection/mmdet/utils/registry.py:6
↓ 9 callers
Class
Residual
EfficientViT/downstream/efficientvit.py:98
↓ 9 callers
Class
Residual
EfficientViT/classification/model/efficientvit.py:78
↓ 9 callers
Class
Structure
CDARTS/benchmark201/utils/genotypes.py:179
↓ 8 callers
Class
ConvBNReLU
CDARTS/CDARTS_detection/mmdet/models/backbones/fbnet_blocks.py:69
↓ 7 callers
Class
ConvBNReLU
CDARTS/CDARTS_detection/mmdet/models/necks/auto_neck/hit_ops.py:95
↓ 7 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
TinyCLIP/src/open_clip/model.py:40
↓ 7 callers
Class
ModelEma
Model Exponential Moving Average Keep a moving average of everything in the model state_dict (parameters and buffers). This is intended to al
CDARTS/CDARTS_segmentation/tools/utils/dist_utils.py:22
↓ 7 callers
Class
ReLUConvBN
CDARTS/benchmark201/models/ops.py:29
↓ 7 callers
Class
RepeatedModuleList
MiniViT/Mini-DeiT/mini_vision_transformer.py:21
↓ 6 callers
Class
AugmentOp
TinyViT/data/augmentation/auto_augment.py:315
↓ 6 callers
Class
AverageMeter
Computes and stores the average and current value
CDARTS/CDARTS_segmentation/segmentation/utils/utils.py:8
↓ 6 callers
Class
CLIPVisionCfg
TinyCLIP/src/open_clip/model.py:570
↓ 6 callers
Class
Cityscapes
Cityscapes semantic segmentation dataset. Arguments: root: Str, root directory. split: Str, data split, e.g. train/val/test.
CDARTS/CDARTS_segmentation/dataloaders/segdatasets/cityscapes.py:46
↓ 6 callers
Class
DistributedSampler
CDARTS/CDARTS_detection/mmdet/datasets/loader/sampler.py:11
↓ 6 callers
Class
EfficientViT
EfficientViT/downstream/efficientvit.py:304
↓ 6 callers
Class
EfficientViT
EfficientViT/classification/model/efficientvit.py:285
↓ 6 callers
Class
MixedConv2d
Mixed Grouped Convolution Based on MDConv and GroupedConv in MixNet impl: https://github.com/tensorflow/tpu/blob/master/models/official/mna
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet_builder.py:520
↓ 6 callers
Class
Mixup
Mixup/Cutmix that applies different params to each element or whole batch Args: mixup_alpha (float): mixup alpha value, mixup is active
TinyViT/data/augmentation/mixup.py:91
↓ 6 callers
Class
Pool
AvgPool or MaxPool
CDARTS/lib/models/ops.py:103
↓ 6 callers
Class
SelectAdaptivePool2d
Selectable global pooling layer with dynamic input kernel size
CDARTS/CDARTS_segmentation/train/cydas.py:34
↓ 5 callers
Class
AugRandomContext
TinyViT/data/augmentation/aug_random.py:7
↓ 5 callers
Class
COCO
CDARTS/CDARTS_segmentation/tools/datasets/coco/coco.py:148
↓ 5 callers
Class
FixedResize
change the short edge length to size
CDARTS/CDARTS_segmentation/dataloaders/custom_transforms.py:159
↓ 5 callers
Class
ImageEncoder
TinyCLIP/src/open_clip/model.py:597
↓ 5 callers
Class
LinearSuper
AutoFormer/model/module/Linear_super.py:6
↓ 5 callers
Class
MMDataParallel
CDARTS/CDARTS_detection/mmcv/parallel/data_parallel.py:6
↓ 5 callers
Class
MMDistributedDataParallel
CDARTS/CDARTS_detection/mmcv/parallel/distributed.py:10
↓ 5 callers
Class
Normalize
Normalize a tensor image with mean and standard deviation. Args: mean (tuple): means for each channel. std (tuple): standard devia
CDARTS/CDARTS_segmentation/dataloaders/custom_transforms.py:12
↓ 5 callers
Class
SqueezeExcite
CDARTS/CDARTS_segmentation/train/builder.py:525
↓ 5 callers
Class
SumCell
CDARTS/CDARTS_detection/mmdet/models/necks/nas_fpn.py:58
↓ 5 callers
Class
ToTensor
Convert ndarrays in sample to Tensors.
CDARTS/CDARTS_segmentation/dataloaders/custom_transforms.py:36
↓ 4 callers
Class
AnchorGenerator
CDARTS/CDARTS_detection/mmdet/core/anchor/anchor_generator.py:4
↓ 4 callers
Class
BasicResidual_downup_2x
CDARTS/CDARTS_segmentation/train/seg_oprs.py:347
↓ 4 callers
Class
Compose
CDARTS/CDARTS_detection/mmdet/datasets/pipelines/compose.py:8
↓ 4 callers
Class
DataInfo
TinyCLIP/src/training/data.py:68
↓ 4 callers
Class
DilConv
(Dilated) depthwise separable conv ReLU - (Dilated) depthwise separable - Pointwise - BN If dilation == 2, 3x3 conv => 5x5 receptive field
CDARTS/lib/models/ops.py:157
↓ 4 callers
Class
DistillHeadImagenet
CDARTS/lib/models/aux_head.py:30
↓ 4 callers
Class
DistilledVisionTransformer
iRPE/DeiT-with-iRPE/models.py:20
↓ 4 callers
Class
DistilledVisionTransformer
MiniViT/Mini-DeiT/models.py:18
↓ 4 callers
Class
DistributedGroupSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distribu
CDARTS/CDARTS_detection/mmdet/datasets/loader/sampler.py:102
↓ 4 callers
Class
DropBlock2D
r"""Randomly zeroes 2D spatial blocks of the input tensor. As described in the paper `DropBlock: A regularization method for convolutional net
CDARTS/CDARTS_detection/mmdet/models/backbones/dropblock.py:7
↓ 4 callers
Class
DropBlockScheduled
CDARTS/CDARTS_detection/mmdet/models/backbones/dropblock.py:134
↓ 4 callers
Class
FFN
EfficientViT/downstream/efficientvit.py:112
↓ 4 callers
Class
FFN
EfficientViT/classification/model/efficientvit.py:92
↓ 4 callers
Class
GPCell
CDARTS/CDARTS_detection/mmdet/models/necks/nas_fpn.py:63
↓ 4 callers
Class
Head
CDARTS/CDARTS_segmentation/train/seg_oprs.py:236
↓ 4 callers
Class
Lambda
Apply a user-defined lambda as a transform. Args: lambd (function): Lambda/function to be used for transform.
TinyViT/data/augmentation/aug_tv_transforms.py:298
↓ 4 callers
Class
LayerNorm
Subclass torch's LayerNorm to handle fp16.
TinyViT/models/clip.py:16
↓ 4 callers
Class
MNASNet
MNASNet, as described in https://arxiv.org/pdf/1807.11626.pdf. This implements the B1 variant of the model. >>> model = MNASNet(1000, 1.0)
CDARTS/CDARTS_segmentation/segmentation/model/backbone/mnasnet.py:90
↓ 4 callers
Class
MaskedConv2d
A MaskedConv2d which inherits the official Conv2d. The masked forward doesn't implement the backward function and only supports the stride pa
CDARTS/CDARTS_detection/mmdet/ops/masked_conv/modules/masked_conv.py:5
↓ 4 callers
Class
Mlp
MiniViT/Mini-Swin/models/swin_mlp.py:8
↓ 4 callers
Class
NestedTensor
iRPE/DETR-with-iRPE/util/misc.py:283
↓ 4 callers
Class
PatchEmbed
r""" Image to Patch Embedding Args: img_size (int): Image size. Default: 224. patch_size (int): Patch token size. Default: 4.
MiniViT/Mini-Swin/models/swin_mlp.py:293
↓ 4 callers
Class
Self_Attn
CDARTS/CDARTS_segmentation/train/att_sa.py:127
↓ 4 callers
Class
SemanticTargetGenerator
Generates semantic training target only for Panoptic-DeepLab (no instance). Annotation is assumed to have Cityscapes format. Arguments:
CDARTS/CDARTS_segmentation/dataloaders/transforms/target_transforms.py:161
↓ 4 callers
Class
SemanticTargetGenerator
Generates semantic training target only for Panoptic-DeepLab (no instance). Annotation is assumed to have Cityscapes format. Arguments:
CDARTS/CDARTS_segmentation/segmentation/data/transforms/target_transforms.py:161
↓ 4 callers
Class
SepBlock
CDARTS/CDARTS_detection/mmdet/models/necks/auto_neck/hit_ops.py:168
↓ 4 callers
Class
SepConv
CDARTS/benchmark201/models/ops.py:43
↓ 4 callers
Class
SubsetDistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
CDARTS/benchmark201/datasets/data_utils.py:9
↓ 4 callers
Class
SubsetDistributedSampler
Sampler that restricts data loading to a subset of the dataset. It is especially useful in conjunction with :class:`torch.nn.parallel.Distrib
CDARTS/lib/datasets/data_utils.py:9
↓ 4 callers
Class
SubsetRandomSampler
r"""Samples elements randomly from a given list of indices, without replacement. Arguments: indices (sequence): a sequence of indices
MiniViT/Mini-Swin/data/samplers.py:4
↓ 4 callers
Class
Transformer
TinyCLIP/src/open_clip/model.py:342
↓ 4 callers
Class
VisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage and image relative position encoding
iRPE/DeiT-with-iRPE/rpe_vision_transformer.py:120
↓ 4 callers
Class
VisionTransformer
Vision Transformer with support for patch or hybrid CNN input stage and image relative position encoding
MiniViT/Mini-DeiT/mini_vision_transformer.py:188
↓ 3 callers
Class
ASPP
CDARTS/CDARTS_segmentation/segmentation/model/decoder/aspp.py:44
↓ 3 callers
Class
ASPPConv
CDARTS/CDARTS_segmentation/segmentation/model/decoder/aspp.py:13
↓ 3 callers
Class
AdaptiveAvgMaxPool2d
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:91
↓ 3 callers
Class
AdaptiveCatAvgMaxPool2d
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet.py:100
↓ 3 callers
Class
AugmentCell
Cell for augmentation Each edge is discrete.
CDARTS/lib/models/augment_cells.py:8
↓ 3 callers
Class
BasicResidual1x
CDARTS/CDARTS_segmentation/train/operations.py:168
↓ 3 callers
Class
BasicResidual2x
CDARTS/CDARTS_segmentation/train/operations.py:330
↓ 3 callers
Class
BasicResidual_downup_1x
CDARTS/CDARTS_segmentation/train/operations.py:241
↓ 3 callers
Class
BasicResidual_downup_2x
CDARTS/CDARTS_segmentation/train/operations.py:413
↓ 3 callers
Class
CLIP
TinyCLIP/src/open_clip/model.py:1073
↓ 3 callers
Class
CityscapesSegmentation
CDARTS/CDARTS_segmentation/dataloaders/datasets/cityscapes.py:23
↓ 3 callers
Class
Compose
Composes several transforms together. Args: transforms (list of ``Transform`` objects): list of transforms to compose. Example:
TinyViT/data/augmentation/aug_tv_transforms.py:42
↓ 3 callers
Class
CondConv2d
Conditionally Parameterized Convolution Inspired by: https://github.com/tensorflow/tpu/blob/master/models/official/efficientnet/condconv/condconv
CDARTS/CDARTS_detection/mmdet/models/backbones/builder.py:92
↓ 3 callers
Class
CondConvResidual
Inverted residual block w/ CondConv routing
CDARTS/CDARTS_detection/mmdet/models/backbones/efficientnet_builder.py:380
↓ 3 callers
Class
ConfigDict
CDARTS/CDARTS_detection/mmcv/utils/config.py:12
next →
1–100 of 813, ranked by callers