code: def test_starmap():
      def add(a, b, c):
          return a + b + c
  
      data = [[1, 2, 3], [4, 5, 6]]
      applied = StarMap(add, data)
  
      assert list(applied) == [add(1, 2, 3), add(4, 5, 6)]
  
imports: import itertools
  import pickle
  import tempfile
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Iterable, List, Tuple
  import numpy
  from numpy.testing import assert_equal
  from toolz import take
  import pytest
  from gluonts.dataset.artificial import constant_dataset
  from gluonts.itertools import batcher, Cached, Chain, PickleCached, Cyclic, IterableSlice, SizedIterableSlice, PseudoShuffled, rows_to_columns, columns_to_rows, select, pluck_attr, power_set, Map, StarMap, Filter, join_items, RandomYield
label_desc: Use image node_id 10 for calling a global function with example usage: test_starmap() and returns: unknown