code: def __init__(self, in_channels, out_channels, D=3, **kwargs):
      nn.Module.__init__(self)
      self.D = D
      assert self.BLOCK is not None, "BLOCK is not defined"
      assert self.PLANES is not None, "PLANES is not defined"
      self.network_initialization(in_channels, out_channels, D)
      self.weight_initialization()
  
imports: import torch.nn
  import MinkowskiEngine
  from .modules import BasicBlock, Bottleneck
label_desc: Use image node_id 1 to create a new ResNetBase object from inherited base classes: nn with example: obj = ResNetBase(in_channels, out_channels, D)