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