code: def _apply_embedding_models(model_names):
      # Load a small test dataset
      dataset = foz.load_zoo_dataset(
          "coco-2017",
          split="validation",
          dataset_name=fo.get_default_dataset_name(),
          shuffle=True,
          max_samples=10,
      )
  
      for idx, model_name in enumerate(model_names, 1):
          print(
              "Running model %d/%d: '%s'"
              % (idx, len(model_names), model_name)
          )
  
          model = foz.load_zoo_model(model_name)
  
          if not model.has_embeddings:
              print("Model does not have embeddings")
              continue
  
          embeddings = dataset.compute_embeddings(model)
          print("Embeddings shape: %s" % embeddings.shape)
  
imports: import random
  import unittest
  import fiftyone
  import fiftyone.zoo
  from fiftyone import ViewField
label_desc: Use image node_id 21 for calling a global function with example usage: _apply_embedding_models(model_names) without return types