code: def tensor(data, dtype):
      return torch.tensor(data, dtype=dtype, device=device())
  
file_path: pytext/pytext/utils/cuda.py
imports: import torch
label_desc: Use image node_id 7 for calling a global function with example usage: tensor(data, dtype) and returns: torch