code: def get_grid_uniform(resolution):
      x = np.linspace(-1.0, 1.0, resolution)
      y = x
      z = x
  
      xx, yy, zz = np.meshgrid(x, y, z)
      grid_points = torch.tensor(
          np.vstack([xx.ravel(), yy.ravel(), zz.ravel()]).T,
          dtype=torch.float,
      )
  
      return {
          "grid_points": grid_points.cuda(),
          "shortest_axis_length": 2.0,
          "xyz": [x, y, z],
          "shortest_axis_index": 0,
      }
  
imports: import plotly.graph_objs
  import plotly.offline
  import numpy
  import torch
  from skimage import measure
  import torchvision
  import trimesh
  from PIL import Image
  from utils import rend_util
  import pickle
label_desc: Use image node_id 10 for calling a global function with example usage: get_grid_uniform(resolution) and returns: dict