Home
last modified time | relevance | path

Searched refs:RNN_NAME_REPLACEMENTS (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/rnn/python/tools/
Dcheckpoint_convert_test.py46 for old_name in checkpoint_convert.RNN_NAME_REPLACEMENTS:
47 new_name = checkpoint_convert.RNN_NAME_REPLACEMENTS[old_name]
59 for old_name in checkpoint_convert.RNN_NAME_REPLACEMENTS:
70 set(checkpoint_convert.RNN_NAME_REPLACEMENTS.values()).union(["a"]),
72 self.assertEqual(checkpoint_convert.RNN_NAME_REPLACEMENTS, conversion_map)
89 20.0, name=list(checkpoint_convert.RNN_NAME_REPLACEMENTS.keys())[-1])
99 ["a", list(checkpoint_convert.RNN_NAME_REPLACEMENTS.values())[-1]],
102 {list(checkpoint_convert.RNN_NAME_REPLACEMENTS.keys())[-1]:
103 list(checkpoint_convert.RNN_NAME_REPLACEMENTS.values())[-1]},
Dcheckpoint_convert.py58 RNN_NAME_REPLACEMENTS = collections.OrderedDict([ variable
165 for pattern in RNN_NAME_REPLACEMENTS:
168 var_name = var_name.replace(pattern, RNN_NAME_REPLACEMENTS[pattern])