code: def maybe_append_oov_vectors(embeddings, num_oov_buckets):
      """Adds zero vectors for oov buckets if num_oov_buckets > 0.
  
      Since we are assigning zero vectors, adding more that one oov bucket is only
      meaningful if we perform fine-tuning.
  
      Args:
        embeddings: Embeddings to extend.
        num_oov_buckets: Number of OOV buckets in the extended embedding.
      """
      num_embeddings = np.shape(embeddings)[0]
      embedding_dim = np.shape(embeddings)[1]
      embeddings.resize(
          [num_embeddings + num_oov_buckets, embedding_dim],
          refcheck=False,
      )
  
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 5 for calling a global function with example usage: maybe_append_oov_vectors(embeddings, num_oov_buckets) without return types