code: def export_module_from_file(
      embedding_file,
      export_path,
      parse_line_fn,
      num_oov_buckets,
      preprocess_text,
  ):
      # Load pretrained embeddings into memory.
      vocabulary, embeddings = load(embedding_file, parse_line_fn)
  
      # Add OOV buckets if num_oov_buckets > 0.
      maybe_append_oov_vectors(embeddings, num_oov_buckets)
  
      # Export the embedding vectors into a TF-Hub module.
      export(
          export_path,
          vocabulary,
          embeddings,
          num_oov_buckets,
          preprocess_text,
      )
  
file_path: hub/examples/text_embeddings/export.py
imports: import argparse
  import os
  import shutil
  import sys
  import tempfile
  import numpy
  import tensorflow.compat.v1
  import tensorflow_hub
label_desc: Use image node_id 6 for calling a global function with example usage: export_module_from_file(embedding_file, export_path, parse_line_fn, num_oov_buckets, preprocess_text) without return types