code: def GetTensor(tensor):
      if CUDA_ENABLED:
          return tensor.cuda()
      else:
          return tensor
  
file_path: pytext/pytext/utils/cuda.py
imports: import torch
label_desc: Use image node_id 6 for calling a global function with example usage: GetTensor(tensor) and returns: tensor, tensor