Home
last modified time | relevance | path

Searched refs:upgrader (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_test.py42 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade.TFAPIChangeSpec())
44 upgrader.process_opened_file("test.py", in_file,
147 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade.TFAPIChangeSpec())
148 upgrader.process_file(temp_file.name, temp_file.name)
Dast_edits_test.py183 upgrader = ast_edits.ASTCodeUpgrader(spec)
185 upgrader.process_opened_file("test.py", in_file,
622 upgrader = ast_edits.ASTCodeUpgrader(RenameImports())
623 upgrader.process_tree_inplace(upgrade_dir)
645 upgrader = ast_edits.ASTCodeUpgrader(RenameImports())
646 upgrader.process_tree_inplace(upgrade_dir)
669 upgrader = ast_edits.ASTCodeUpgrader(RenameImports())
670 upgrader.process_tree(upgrade_dir, output_dir, copy_other_files=True)
695 upgrader = ast_edits.ASTCodeUpgrader(RenameImports())
696 upgrader.process_tree(upgrade_dir, output_dir, copy_other_files=True)
Dipynb.py41 def process_file(in_filename, out_filename, upgrader): argument
51 upgrader.update_string_pasta("\n".join(raw_lines), in_filename))
63 report_text = upgrader._format_log(log, in_filename, out_filename)
Dtf_upgrade_v2_main.py42 def process_file(in_filename, out_filename, upgrader): argument
47 upgrader.process_file(in_filename, out_filename)
50 ipynb.process_file(in_filename, out_filename, upgrader)
Dtf_upgrade_v2_safety_test.py33 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade_v2_safety.TFAPIChangeSpec())
35 upgrader.process_opened_file("test.py", in_file,
Dtf_upgrade_v2_test.py126 upgrader = ast_edits.ASTCodeUpgrader(
130 upgrader.process_opened_file("test.py", in_file,
135 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade_v2.TFAPIChangeSpec())
141 upgrader.process_opened_file("test.py", in_file,
2397 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade_v2.TFAPIChangeSpec())
2398 upgrader.process_file(temp_file.name, temp_file.name)
2409 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade_v2.TFAPIChangeSpec())
2410 upgrader.process_file(
2422 upgrader = ast_edits.ASTCodeUpgrader(tf_upgrade_v2.TFAPIChangeSpec())
2423 upgrader.process_file(temp_file.name, temp_file.name)
/external/llvm-project/llvm/test/Bitcode/
Dupgrade-arc-runtime-calls.ll55 // Check that auto-upgrader converts function calls to intrinsic calls. Note that
56 // the auto-upgrader doesn't touch invoke instructions.
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java358 final HttpClientUpgradeHandler upgrader =
360 return new BufferingHttp2UpgradeHandler(upgrader, handler);