code: def write_embeddings(embeddings, embedding_output_path):
      """Writes the given 'embeddings' to a TFRecord file at the given path."""
      with tf.io.TFRecordWriter(embedding_output_path) as writer:
          for example_str in embeddings:
              example = text_format.Parse(
                  example_str, tf.train.Example()
              )
              writer.write(example.SerializeToString())
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import cmath
  from absl.testing import absltest
  from neural_structured_learning.tools import build_graph
  from neural_structured_learning.tools import graph_utils
  import six
  import tensorflow
  from google.protobuf import text_format
label_desc: Use image node_id 1 for calling a global function with example usage: write_embeddings(embeddings, embedding_output_path) without return types