code: def dummy_torch_tensor(size, requires_grad=True):
      if parse_version(torch.__version__) >= parse_version("0.4"):
          return torch.ones(size, requires_grad=requires_grad)
      else:
          return torch.autograd.Variable(
              torch.ones(size), requires_grad=requires_grad
          )
  
file_path: wandb/tests/standalone_tests/all_media_types.py
imports: import matplotlib.pyplot
  import numpy
  import pandas
  import PIL
  import plotly.graph_objs
  import tensorflow
  import torch
  import wandb
  from pkg_resources import parse_version
label_desc: Use image node_id 1 for calling a global function with example usage: dummy_torch_tensor(size, requires_grad) and returns: torch, torch