code: def SEXResNet18Encoder(**kwargs):
      return XResNet(1, [2, 2, 2, 2], block=SEXResNetBlock, **kwargs)
  
imports: from collections import OrderedDict
  from typing import List, Union
  import torch
  from torch import nn
  from pytorch_toolbelt.modules import ACT_RELU, instantiate_activation_block, ChannelSpatialGate2d
  from pytorch_toolbelt.modules.encoders import EncoderModule, make_n_channel_input
label_desc: Use image node_id 7 for calling a global function with example usage: SEXResNet18Encoder() and returns: XResNet