import tensorflow as tf

      'mesh_name': _bytes_feature(d['mesh_name']),
      'near_surface_samples': _float_feature(d['near_surface_samples']),
      'grid': _float_feature(d['grid']),
      'world2grid': _float_feature(d['world2grid']),
      'surface_point_samples': _float_feature(d['surface_point_samples'])
  }
  example_proto = tf.train.Example(features=tf.train.Features(feature=feature))
  return example_proto.SerializeToString()


def full_featurespec():
  return {
