code: def resnet10(**kwargs):
      """Constructs a ResNet-18 model."""
      model = ResNet(BasicBlock, [1, 1, 1, 1], **kwargs)
      return model
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  from torch.autograd import Variable
  import math
  from functools import partial
label_desc: Use image node_id 3 for calling a global function with example usage: resnet10() and returns: model