code: def get_probs_iter(pool, dummy_param=None):
      assert dummy_param is not None
      if len(pool) == 0:
          return None
      for x in pool:
          b = np.zeros([1, 3, 10])
          b[:, x % 3, :] = 1
          yield b
  
imports: import os
  import pickle
  import warnings
  from unittest.mock import patch
  import numpy
  import pytest
  from torch.utils.data import Dataset
  from baal.active import ActiveLearningDataset, heuristics
  from baal.active.active_loop import ActiveLearningLoop
label_desc: Use image node_id 2 for calling a global function with example usage: get_probs_iter(pool, dummy_param) and returns: None