class_docstr: Spatial path
code: def __init__(
      self,
      in_channels,
      out_channels,
      norm_layer=nn.BatchNorm2d,
      **kwargs,
  ):
      super(SpatialPath, self).__init__()
      inter_channels = 64
      self.conv7x7 = _ConvBNReLU(
          in_channels,
          inter_channels,
          7,
          2,
          3,
          norm_layer=norm_layer,
          **kwargs,
      )
      self.conv3x3_1 = _ConvBNReLU(
          inter_channels,
          inter_channels,
          3,
          2,
          1,
          norm_layer=norm_layer,
          **kwargs,
      )
      self.conv3x3_2 = _ConvBNReLU(
          inter_channels,
          inter_channels,
          3,
          2,
          1,
          norm_layer=norm_layer,
          **kwargs,
      )
      self.conv1x1 = _ConvBNReLU(
          inter_channels,
          out_channels,
          1,
          1,
          0,
          norm_layer=norm_layer,
          **kwargs,
      )
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from pywick.models.segmentation.da_basenets.resnet import resnet18
label_desc: Use image node_id 1 to create a new SpatialPath object from inherited base classes: nn with example: obj = SpatialPath(in_channels, out_channels, norm_layer)