code: def module_inference(module, image, flip=True):
      # print("in model_inference input_size: ", image.size())
      output = module.evaluate(image)
      if flip:
          fimg = flip_image(image)
          foutput = module.evaluate(fimg)
          output += flip_image(foutput)
      return output.exp()
  
file_path: pywick/pywick/models/segmentation/testnets/tkcnet/base.py
imports: import numpy
  import torch
  import torch.nn
  import torch.nn.functional
  from .resnet import *
label_desc: Use image node_id 1 for calling a global function with example usage: module_inference(module, image, flip) and returns: output