Home
last modified time | relevance | path

Searched refs:_upgrade (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2_test.py120 def _upgrade(self, member in TestUpgrade
147 _, report, unused_errors, unused_new_text = self._upgrade(
153 _, report, unused_errors, unused_new_text = self._upgrade(text)
162 _, unused_report, unused_errors, new_text = self._upgrade(text)
165 _, unused_report, unused_errors, new_text = self._upgrade(text)
181 _, _, _, text = self._upgrade("tf." + six.ensure_str(name))
212 _, _, _, text = self._upgrade("tf." + six.ensure_str(name))
306 _, _, _, text = self._upgrade(text_input)
411 _, unused_report, unused_errors, new_text = self._upgrade(text)
414 _, unused_report, unused_errors, new_text = self._upgrade(text)
[all …]
Dtf_upgrade_v2_safety_test.py30 def _upgrade(self, old_file_text): member in TfUpgradeV2SafetyTest
41 _, report, _, _ = self._upgrade(text)
48 _, _, _, new_text = self._upgrade(text)
53 _, _, _, new_text = self._upgrade(text)
58 _, _, _, new_text = self._upgrade(text)
63 _, _, _, new_text = self._upgrade(text)
68 _, _, _, new_text = self._upgrade(text)
73 _, _, _, new_text = self._upgrade(text)
77 _, _, _, new_text = self._upgrade(text)
82 _, _, _, new_text = self._upgrade(text)
[all …]
Dast_edits_test.py180 def _upgrade(self, spec, old_file_text): member in TestAstEdits
191 (_, _, errors), new_text = self._upgrade(ModuleDeprecationSpec(), text)
200 _, new_text = self._upgrade(ast_edits.NoUpdateSpec(), text)
204 _, new_text = self._upgrade(ast_edits.NoUpdateSpec(), text)
211 (_, report, _), new_text = self._upgrade(RenameKeywordSpec(), text)
217 (_, report, _), new_text = self._upgrade(RenameKeywordSpec(), text)
223 (_, report, _), _ = self._upgrade(RenameKeywordSpec(), text)
228 (_, report, _), _ = self._upgrade(RenameKeywordSpec(), text)
242 _, new_text = self._upgrade(ReorderKeywordSpec(), text)
257 (_, report, _), new_text = self._upgrade(ReorderKeywordSpec(), text)
[all …]
Dtf_upgrade_test.py39 def _upgrade(self, old_file_text): member in TestUpgrade
49 _, report, unused_errors, unused_new_text = self._upgrade(
55 _, report, unused_errors, unused_new_text = self._upgrade(text)
64 _, unused_report, unused_errors, new_text = self._upgrade(text)
69 _, unused_report, unused_errors, new_text = self._upgrade(text)
72 _, unused_report, unused_errors, new_text = self._upgrade(text)
77 _, unused_report, unused_errors, new_text = self._upgrade(text)
83 _, unused_report, unused_errors, new_text = self._upgrade(text)
86 _, unused_report, unused_errors, new_text = self._upgrade(text)
89 _, unused_report, unused_errors, new_text = self._upgrade(text)
[all …]
/external/python/pybind11/docs/
Dupgrade.rst11 .. _upgrade-guide-2.6: