code: def get_q_values(state):
      state = torch.from_numpy(state)
      state = Variable(state)
      return model(state)
  
file_path: ViZDoom/examples/python/test_pytorch.py
imports: import itertools
  from time import sleep
  import numpy
  import skimage.color
  import skimage.transform
  import torch
  import torch.nn
  import torch.nn.functional
  from torch.autograd import Variable
  from vizdoom import DoomGame, Mode, ScreenFormat, ScreenResolution, os, vzd
label_desc: Use image node_id 2 for calling a global function with example usage: get_q_values(state) and returns: model