code: def predict(
      model: Model, batch: Union[Sequence[Any], np.ndarray]
  ) -> BatchEmbeddings:
      """Predict using TensorFlow model.
  
      Args:
          model: TensorFlow/Keras model.
  
          batch: Batch of inputs to generate predictions.
  
      Returns:
          Batch of embeddings generated from inputs.
      """
      return model(batch, training=False)
  
file_path: unisim/unisim/backend/tf.py
imports: from pathlib import Path
  from typing import Any, Sequence, Union
  import numpy
  import tensorflow
  from tensorflow import Tensor
  from tensorflow.keras import Model
  from ..types import BatchEmbeddings
label_desc: Use image node_id 3 for calling a global function with example usage: predict(model, batch) and returns: model