code: def test_compute_embeddings_frames():
      dataset = foz.load_zoo_dataset("quickstart-video")
      view = dataset.take(2)
  
      model = foz.load_zoo_model("inception-v3-imagenet-torch")
  
      frame_embeddings1a = view.compute_embeddings(model)
      view.compute_embeddings(model, embeddings_field="embeddings1")
      frame_embeddings1b = _load_frame_embeddings(
          view, "frames.embeddings1"
      )
      _assert_embedding_dicts_equal(
          frame_embeddings1a, frame_embeddings1b
      )
  
      frame_embeddings2a = view.compute_embeddings(model, batch_size=8)
      view.compute_embeddings(
          model, embeddings_field="embeddings2", batch_size=8
      )
      frame_embeddings2b = _load_frame_embeddings(
          view, "frames.embeddings2"
      )
      _assert_embedding_dicts_equal(
          frame_embeddings2a, frame_embeddings2b
      )
  
imports: import unittest
  import numpy
  import pytest
  import fiftyone
  import fiftyone.zoo
  import fiftyone.utils.torch
label_desc: Use image node_id 10 for calling a global function with example usage: test_compute_embeddings_frames() without return types