code: def PyResNet18(pretrained=None, **kwargs):
      """Not Pretrained"""
      if pretrained:
          raise NotImplementedError()
      model = PyResNet(BasicBlock, [2, 2, 2, 2], **kwargs)
      return model
  
imports: import os
  import math
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 5 for calling a global function with example usage: PyResNet18(pretrained) and returns: model