code: def check_contiguous(var, name):
      if not var.is_contiguous():
          raise ValueError("{} must be contiguous".format(name))
  
imports: import numpy
  import torch
  from torch.autograd import Function, Variable
  from torch.nn import Module
label_desc: Use image node_id 2 for calling a global function with example usage: check_contiguous(var, name) without return types