code: def save_mesh(mesh, name, eval_dir):
      """Save a mesh to disk.
  
      Args:
        mesh: trimesh.Trimesh, the mesh to save.
        name: Tensor, hash name of the mesh as recorded in the dataset.
        eval_dir: string, path to the directory to save the mesh.
      """
      cls_name, obj_name = mesh_name_helper(name)
      cls_dir = path.join(eval_dir, "meshes", cls_name)
      if not tf.io.gfile.isdir(cls_dir):
          tf.io.gfile.makedirs(cls_dir)
      with tf.io.gfile.GFile(
          path.join(cls_dir, obj_name + ".obj"), "w"
      ) as fout:
          mesh.export(fout, file_type="obj")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  from os import path
  import numpy
  import scipy
  from skimage import measure
  import tensorflow.compat.v1
  from tensorflow_graphics.projects.cvxnet.lib import datasets
  from tensorflow_graphics.projects.cvxnet.lib import models
  from tensorflow_graphics.projects.cvxnet.lib.libmise import mise
  import trimesh
label_desc: Use image node_id 5 for calling a global function with example usage: save_mesh(mesh, name, eval_dir) without return types