code: def ResNet18_swish(pretrained=False, **kwargs):
      """Constructs a ResNet-18 model. Not pretrained."""
      model = ResNet_swish(BasicBlock, [2, 2, 2, 2], **kwargs)
      if pretrained:
          raise NotImplementedError()
      return model
  
imports: import torch.nn
  import torch
  import math
label_desc: Use image node_id 2 for calling a global function with example usage: ResNet18_swish(pretrained) and returns: model