class_docstr: ResNetV1d variant described in `Bag of Tricks
  <https://arxiv.org/pdf/1812.01187.pdf>`_.
  
  Compared with default ResNet(ResNetV1b), ResNetV1d replaces the 7x7 conv in
  the input stem with three 3x3 convs. And in the downsampling block, a 2x2
  avg_pool with stride 2 is added before conv, whose stride is changed to 1.
class_docstr_tok: ["ResNetV1d","variant","described","in","`","Bag","of","Tricks","<","https",":","\/\/arxiv.org\/pdf\/1812.01187.pdf",">","`","_",".","Compared","with","default","ResNet","(","ResNetV1b",")",",","ResNetV1d","replaces","the","7x7","conv","in","the","input","stem","with","three","3x3","convs",".","And","in","the","downsampling","block",",","a","2x2","avg_pool","with","stride","2","is","added","before","conv",",","whose","stride","is","changed","to","1","."]
code: def __init__(self, **kwargs):
      super(ResNetV1d, self).__init__(
          deep_stem=True, avg_down=True, **kwargs
      )
  
imports: import warnings
  import torch.nn
  import torch.utils.checkpoint
  from mmcv.cnn import build_conv_layer, build_norm_layer, build_plugin_layer
  from mmengine.model import BaseModule
  from torch.nn.modules.batchnorm import _BatchNorm
  from mmdet.registry import MODELS
  from ..layers import ResLayer
label_desc: Use image node_id 1 to create a new ResNetV1d object from inherited base classes: ResNet with example: obj = ResNetV1d()