code: def _load_frame_embeddings(samples, path):
      embeddings_dict = {}
      for sample_id, embeddings in zip(*samples.values(["id", path])):
          if embeddings:
              embeddings_dict[sample_id] = np.stack(embeddings)
  
      return embeddings_dict
  
imports: import unittest
  import numpy
  import pytest
  import fiftyone
  import fiftyone.zoo
  import fiftyone.utils.torch
label_desc: Use image node_id 11 for calling a global function with example usage: _load_frame_embeddings(samples, path) and returns: embeddings_dict