class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
code: def __init__(self, resnet_depth, reduction_dim):
      super().__init__()
      self.resnet_depth = resnet_depth
      self.reduction_dim = reduction_dim
      self._construct()
  
imports: import torch
  from torch import nn
label_desc: Use image node_id 1 to create a new ResNet object from inherited base classes: nn with example: obj = ResNet(resnet_depth, reduction_dim)