code: def _zero_state_tensors(state_size, batch_size, dtype):
      """Create tensors of zeros based on state_size, batch_size, and dtype."""
  
      def get_state_shape(s):
          """Combine s with batch_size to get a proper tensor shape."""
          c = _concat(batch_size, s)
          size = array_ops.zeros(c, dtype=dtype)
          if not context.executing_eagerly():
              c_static = _concat(batch_size, s, static=True)
              size.set_shape(c_static)
          return size
  
      return nest.map_structure(get_state_shape, state_size)
  
file_path: tensorflow/tensorflow/python/ops/rnn_cell_impl.py
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.keras.layers.legacy_rnn import rnn_cell_impl
  from tensorflow.python.ops import array_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling a global function with example usage: _zero_state_tensors(state_size, batch_size, dtype) and returns: nest, size