code: def __init__(
      self, inplanes, planes, stride=1, dilation=1, downsample=None
  ):
      super(BasicBlock, self).__init__()
      self.conv1 = conv3x3x3(
          inplanes, planes, stride=stride, dilation=dilation
      )
      self.bn1 = nn.BatchNorm3d(planes)
      self.relu = nn.ReLU(inplace=True)
      self.conv2 = conv3x3x3(planes, planes, dilation=dilation)
      self.bn2 = nn.BatchNorm3d(planes)
      self.downsample = downsample
      self.stride = stride
      self.dilation = dilation
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch.autograd import Variable
  import math
  from functools import partial
label_desc: Use image node_id 1 to create a new BasicBlock object from inherited base classes: nn with example: obj = BasicBlock(inplanes, planes, stride, dilation, downsample)