code: def _zero_state_tensors(state_size, batch_size, dtype):
      r"""Create tensors of zeros based on state_size, batch_size, and dtype."""
  
      def get_state_shape(s):
          r"""Combine s with batch_size to get a proper tensor shape."""
  
          c = _concat(batch_size, s)
          size = tf.zeros(c, dtype=dtype)
          return size
  
      return nest.map_structure(get_state_shape, state_size)
  
file_path: texar/texar/tf/modules/decoders/dynamic_decode.py
imports: import tensorflow
  from tensorflow.contrib.seq2seq import Decoder
  from tensorflow.python.framework import tensor_shape, tensor_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 2 for calling a global function with example usage: _zero_state_tensors(state_size, batch_size, dtype) and returns: nest, size