class_docstr: Implement :paper:`ResNet`.
class_docstr_tok: ["Implement",":","paper",":","`","ResNet","`","."]
code: def output_shape(self):
      return {
          name: ShapeSpec(
              channels=self._out_feature_channels[name],
              stride=self._out_feature_strides[name],
          )
          for name in self._out_features
      }
  
imports: import numpy
  import fvcore.nn.weight_init
  import torch
  import torch.nn.functional
  from torch import nn
  from detectron2.layers import CNNBlockBase, Conv2d, DeformConv, ModulatedDeformConv, ShapeSpec, get_norm
  from .backbone import Backbone
  from .build import BACKBONE_REGISTRY
label_desc: Use image node_id 3 for calling the ResNet obj's underlying member method code with example usage: obj.output_shape() and returns: unknown