parameters: (self, sequences, context, states)
docstring: Prepares the internal dictionaries _name_to_index and _index_to_name.
  
      These dictionaries are used to keep track of indices into the barrier.
  
      Args:
        sequences: `OrderedDict` of string, `Tensor` pairs.
        context: `OrderedDict` of string, `Tensor` pairs.
        states: `OrderedDict` of string, `Tensor` pairs.
docstring_summary: Prepares the internal dictionaries _name_to_index and _index_to_name.
docstring_tokens: Prepares the internal dictionaries _name_to_index and _index_to_name .
function: def _store_index_maps(self, sequences, context, states):
      """Prepares the internal dictionaries _name_to_index and _index_to_name.
  
      These dictionaries are used to keep track of indices into the barrier.
  
      Args:
        sequences: `OrderedDict` of string, `Tensor` pairs.
        context: `OrderedDict` of string, `Tensor` pairs.
        states: `OrderedDict` of string, `Tensor` pairs.
      """
      assert isinstance(sequences, dict)
      assert isinstance(context, dict)
      assert isinstance(states, dict)
      self._name_to_index = dict(
          (name, ix)
          for (ix, name) in enumerate([
              "__length", "__total_length", "__next_key", "__sequence",
              "__sequence_count"
          ] + ["__sequence__%s" % k for k in sequences.keys()] + [
              "__context__%s" % k for k in context.keys()
          ] + ["__state__%s" % k for k in states.keys()]))
      self._index_to_name = [
          name
          for (name, _) in sorted(
              self._name_to_index.items(), key=lambda n_ix: n_ix[1])
      ]
function_tokens: def _store_index_maps ( self , sequences , context , states ) : assert isinstance ( sequences , dict ) assert isinstance ( context , dict ) assert isinstance ( states , dict ) self . _name_to_index = dict ( ( name , ix ) for ( ix , name ) in enumerate ( [ "__length" , "__total_length" , "__next_key" , "__sequence" , "__sequence_count" ] + [ "__sequence__%s" % k for k in sequences . keys ( ) ] + [ "__context__%s" % k for k in context . keys ( ) ] + [ "__state__%s" % k for k in states . keys ( ) ] ) ) self . _index_to_name = [ name for ( name , _ ) in sorted ( self . _name_to_index . items ( ) , key = lambda n_ix : n_ix [ 1 ] ) ]