(size, dtype, batch_size)
return tf.nest.map_structure(_create, size, dtype)
Create a zero outputs Tensor structure.
Create a zero outputs Tensor structure.
Create a zero outputs Tensor structure .
def _create_zero_outputs(size, dtype, batch_size):
  """Create a zero outputs Tensor structure."""
  def _create(s, d):
    return _zero_state_tensors(s, batch_size, d)

  return tf.nest.map_structure(_create, size, dtype)
def _create_zero_outputs ( size , dtype , batch_size ) : def _create ( s , d ) : return _zero_state_tensors ( s , batch_size , d ) return tf . nest . map_structure ( _create , size , dtype )