code: def _create_empty_array_base(space, n=1, fn=np.zeros):
      shape = space.shape if (n is None) else (n,) + space.shape
      return fn(shape, dtype=space.dtype)
  
file_path: gym/gym/vector/utils/numpy_utils.py
imports: from collections import OrderedDict
  from functools import singledispatch
  from typing import Iterable, Union
  import numpy
  from gym.spaces import Box, Dict, Discrete, MultiBinary, MultiDiscrete, Space, Tuple
label_desc: Use image node_id 7 for calling a global function with example usage: _create_empty_array_base(space, n, fn) and returns: fn