code: def __init__(
      self,
      inplanes,
      planes,
      stride=1,
      downsample=None,
      groups=1,
      base_width=64,
      dilation=1,
  ):
      super(IBasicBlock, self).__init__()
      if groups != 1 or base_width != 64:
          raise ValueError(
              "BasicBlock only supports groups=1 and base_width=64"
          )
      if dilation > 1:
          raise NotImplementedError(
              "Dilation > 1 not supported in BasicBlock"
          )
      self.bn1 = nn.BatchNorm2d(
          inplanes,
          eps=1e-05,
      )
      self.conv1 = conv3x3(inplanes, planes)
      self.bn2 = nn.BatchNorm2d(
          planes,
          eps=1e-05,
      )
      self.prelu = nn.ReLU(planes)
      self.conv2 = conv3x3(planes, planes, stride)
      self.bn3 = nn.BatchNorm2d(
          planes,
          eps=1e-05,
      )
      self.downsample = downsample
      self.stride = stride
  
file_path: insightface/recognition/arcface_oneflow/backbones/ir_resnet.py
imports: import oneflow
  import oneflow.nn
  from typing import Type, Any, Callable, Union, List, Optional
label_desc: Use image node_id 1 to create a new IBasicBlock object from inherited base classes: nn with example: obj = IBasicBlock(inplanes, planes, stride, downsample, groups, base_width, dilation)