code: def _generate_zeros_from_spec(spec: specs.Array) -> np.ndarray:
      return np.zeros(spec.shape, spec.dtype)
  
file_path: acme/acme/environment_loop.py
imports: import operator
  import time
  from typing import List, Optional, Sequence
  from acme import core
  from acme.utils import counting
  from acme.utils import loggers
  from acme.utils import observers
  from acme.utils import signals
  import dm_env
  from dm_env import specs
  import numpy
  import tree
label_desc: Use image node_id 1 for calling a global function with example usage: _generate_zeros_from_spec(spec) and returns: np