From 4ad9add68ad4ef4627a2e3fd1e4cdb03e68b8a5b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 13 Feb 2025 21:21:55 +0100 Subject: [PATCH] ruff rule UP009 (#441) --- check-license.sh | 2 +- compiler_opt/__init__.py | 1 - compiler_opt/benchmark/__init__.py | 1 - compiler_opt/benchmark/benchmark_chromium.py | 1 - compiler_opt/benchmark/benchmark_llvm_test_suite.py | 1 - compiler_opt/benchmark/benchmark_report.py | 1 - compiler_opt/benchmark/benchmark_report_converter.py | 1 - compiler_opt/benchmark/benchmark_report_test.py | 1 - compiler_opt/benchmark/benchmarking_utils.py | 1 - compiler_opt/benchmark/filter_tests.py | 1 - compiler_opt/benchmark/gtest_executable_utils.py | 1 - compiler_opt/benchmark/list_gtests.py | 1 - compiler_opt/distributed/__init__.py | 1 - compiler_opt/distributed/buffered_scheduler.py | 1 - compiler_opt/distributed/buffered_scheduler_test.py | 1 - compiler_opt/distributed/local/__init__.py | 1 - compiler_opt/distributed/local/local_worker_manager.py | 1 - compiler_opt/distributed/local/local_worker_manager_test.py | 1 - compiler_opt/distributed/worker.py | 1 - compiler_opt/distributed/worker_test.py | 1 - compiler_opt/es/__init__.py | 1 - compiler_opt/es/blackbox_evaluator.py | 1 - compiler_opt/es/blackbox_evaluator_test.py | 1 - compiler_opt/es/blackbox_learner.py | 1 - compiler_opt/es/blackbox_learner_test.py | 1 - compiler_opt/es/blackbox_optimizers.py | 1 - compiler_opt/es/blackbox_optimizers_test.py | 1 - compiler_opt/es/blackbox_test_utils.py | 1 - compiler_opt/es/es_trainer.py | 1 - compiler_opt/es/es_trainer_lib.py | 1 - compiler_opt/es/gradient_ascent_optimization_algorithms.py | 1 - compiler_opt/es/gradient_ascent_optimization_algorithms_test.py | 1 - compiler_opt/es/policy_utils.py | 1 - compiler_opt/es/policy_utils_test.py | 1 - compiler_opt/es/regalloc_trace/__init__.py | 1 - compiler_opt/es/regalloc_trace/regalloc_trace_worker.py | 1 - compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py | 1 - compiler_opt/rl/__init__.py | 1 - compiler_opt/rl/agent_config.py | 1 - compiler_opt/rl/agent_config_test.py | 1 - compiler_opt/rl/best_trajectory.py | 1 - compiler_opt/rl/best_trajectory_test.py | 1 - compiler_opt/rl/compilation_runner.py | 1 - compiler_opt/rl/compilation_runner_test.py | 1 - compiler_opt/rl/constant.py | 1 - compiler_opt/rl/constant_value_network.py | 1 - compiler_opt/rl/constant_value_network_test.py | 1 - compiler_opt/rl/corpus.py | 1 - compiler_opt/rl/corpus_test.py | 1 - compiler_opt/rl/data_collector.py | 1 - compiler_opt/rl/data_collector_test.py | 1 - compiler_opt/rl/data_reader.py | 1 - compiler_opt/rl/data_reader_test.py | 1 - compiler_opt/rl/distributed/__init__.py | 1 - compiler_opt/rl/distributed/agent.py | 1 - compiler_opt/rl/distributed/learner.py | 1 - compiler_opt/rl/distributed/ppo_collect.py | 1 - compiler_opt/rl/distributed/ppo_collect_lib.py | 1 - compiler_opt/rl/distributed/ppo_eval.py | 1 - compiler_opt/rl/distributed/ppo_eval_lib.py | 1 - compiler_opt/rl/distributed/ppo_reverb_server.py | 1 - compiler_opt/rl/distributed/ppo_reverb_server_lib.py | 1 - compiler_opt/rl/distributed/ppo_train.py | 1 - compiler_opt/rl/distributed/ppo_train_lib.py | 1 - compiler_opt/rl/env.py | 1 - compiler_opt/rl/env_test.py | 1 - compiler_opt/rl/feature_ops.py | 1 - compiler_opt/rl/feature_ops_test.py | 1 - compiler_opt/rl/gin_external_configurables.py | 1 - compiler_opt/rl/imitation_learning/__init__.py | 1 - compiler_opt/rl/imitation_learning/generate_bc_trajectories.py | 1 - .../rl/imitation_learning/generate_bc_trajectories_lib.py | 1 - .../rl/imitation_learning/generate_bc_trajectories_test.py | 1 - compiler_opt/rl/imitation_learning/weighted_bc_trainer.py | 1 - compiler_opt/rl/imitation_learning/weighted_bc_trainer_lib.py | 1 - compiler_opt/rl/imitation_learning/weighted_bc_trainer_test.py | 1 - compiler_opt/rl/inlining/__init__.py | 1 - compiler_opt/rl/inlining/config.py | 1 - compiler_opt/rl/inlining/env.py | 1 - compiler_opt/rl/inlining/imitation_learning_config.py | 1 - compiler_opt/rl/inlining/imitation_learning_runner.py | 1 - compiler_opt/rl/inlining/inlining_runner.py | 1 - compiler_opt/rl/local_data_collector.py | 1 - compiler_opt/rl/local_data_collector_test.py | 1 - compiler_opt/rl/log_reader.py | 1 - compiler_opt/rl/log_reader_test.py | 1 - compiler_opt/rl/policy_saver.py | 1 - compiler_opt/rl/policy_saver_test.py | 1 - compiler_opt/rl/problem_configuration.py | 1 - compiler_opt/rl/random_net_distillation.py | 1 - compiler_opt/rl/random_net_distillation_test.py | 1 - compiler_opt/rl/regalloc/__init__.py | 1 - compiler_opt/rl/regalloc/config.py | 1 - compiler_opt/rl/regalloc/regalloc_network.py | 1 - compiler_opt/rl/regalloc/regalloc_network_test.py | 1 - compiler_opt/rl/regalloc/regalloc_runner.py | 1 - compiler_opt/rl/regalloc_priority/__init__.py | 1 - compiler_opt/rl/regalloc_priority/config.py | 1 - compiler_opt/rl/regalloc_priority/regalloc_priority_runner.py | 1 - compiler_opt/rl/registry.py | 1 - compiler_opt/rl/train_bc.py | 1 - compiler_opt/rl/train_locally.py | 1 - compiler_opt/rl/trainer.py | 1 - compiler_opt/rl/trainer_test.py | 1 - compiler_opt/testing/__init__.py | 1 - compiler_opt/testing/model_test_utils.py | 1 - compiler_opt/tools/__init__.py | 1 - compiler_opt/tools/combine_tfa_policies.py | 1 - compiler_opt/tools/combine_tfa_policies_lib.py | 1 - compiler_opt/tools/combine_tfa_policies_lib_test.py | 1 - compiler_opt/tools/feature_importance.py | 1 - compiler_opt/tools/feature_importance_graphs.py | 1 - compiler_opt/tools/feature_importance_utils.py | 1 - compiler_opt/tools/feature_importance_utils_test.py | 1 - compiler_opt/tools/generate_default_trace.py | 1 - compiler_opt/tools/generate_default_trace_test.py | 1 - compiler_opt/tools/generate_test_model.py | 1 - compiler_opt/tools/generate_test_model_test.py | 1 - compiler_opt/tools/generate_vocab.py | 1 - compiler_opt/tools/merge_best_trajectory.py | 1 - compiler_opt/type_map.py | 1 - license-header.txt | 1 - 122 files changed, 1 insertion(+), 122 deletions(-) diff --git a/check-license.sh b/check-license.sh index 769baac5..6a983ebf 100755 --- a/check-license.sh +++ b/check-license.sh @@ -33,7 +33,7 @@ check_license () { for fname in `find . -name "*.py"`; do - check_license $fname "$(cat license-header.txt)" 15 + check_license $fname "$(tail -13 license-header.txt)" 14 done for fname in `find . -name "*.sh"`; diff --git a/compiler_opt/__init__.py b/compiler_opt/__init__.py index 6078d4ff..67408246 100644 --- a/compiler_opt/__init__.py +++ b/compiler_opt/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/__init__.py b/compiler_opt/benchmark/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/benchmark/__init__.py +++ b/compiler_opt/benchmark/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmark_chromium.py b/compiler_opt/benchmark/benchmark_chromium.py index 9850d81e..166ebea1 100644 --- a/compiler_opt/benchmark/benchmark_chromium.py +++ b/compiler_opt/benchmark/benchmark_chromium.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmark_llvm_test_suite.py b/compiler_opt/benchmark/benchmark_llvm_test_suite.py index 6d09e1f2..de0b550e 100644 --- a/compiler_opt/benchmark/benchmark_llvm_test_suite.py +++ b/compiler_opt/benchmark/benchmark_llvm_test_suite.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmark_report.py b/compiler_opt/benchmark/benchmark_report.py index 9907735d..b7d7d1f5 100644 --- a/compiler_opt/benchmark/benchmark_report.py +++ b/compiler_opt/benchmark/benchmark_report.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmark_report_converter.py b/compiler_opt/benchmark/benchmark_report_converter.py index 4b57d264..10812531 100644 --- a/compiler_opt/benchmark/benchmark_report_converter.py +++ b/compiler_opt/benchmark/benchmark_report_converter.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmark_report_test.py b/compiler_opt/benchmark/benchmark_report_test.py index 706a0945..6079c884 100644 --- a/compiler_opt/benchmark/benchmark_report_test.py +++ b/compiler_opt/benchmark/benchmark_report_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/benchmarking_utils.py b/compiler_opt/benchmark/benchmarking_utils.py index a212c3ff..320515b3 100644 --- a/compiler_opt/benchmark/benchmarking_utils.py +++ b/compiler_opt/benchmark/benchmarking_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/filter_tests.py b/compiler_opt/benchmark/filter_tests.py index 01d1d999..d1be0f2e 100644 --- a/compiler_opt/benchmark/filter_tests.py +++ b/compiler_opt/benchmark/filter_tests.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/gtest_executable_utils.py b/compiler_opt/benchmark/gtest_executable_utils.py index b99c0464..e715789d 100644 --- a/compiler_opt/benchmark/gtest_executable_utils.py +++ b/compiler_opt/benchmark/gtest_executable_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/benchmark/list_gtests.py b/compiler_opt/benchmark/list_gtests.py index cafd5d26..a23929b2 100644 --- a/compiler_opt/benchmark/list_gtests.py +++ b/compiler_opt/benchmark/list_gtests.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/__init__.py b/compiler_opt/distributed/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/distributed/__init__.py +++ b/compiler_opt/distributed/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/buffered_scheduler.py b/compiler_opt/distributed/buffered_scheduler.py index b1c6aebe..997d983a 100644 --- a/compiler_opt/distributed/buffered_scheduler.py +++ b/compiler_opt/distributed/buffered_scheduler.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/buffered_scheduler_test.py b/compiler_opt/distributed/buffered_scheduler_test.py index c0e3052c..6fac81d8 100644 --- a/compiler_opt/distributed/buffered_scheduler_test.py +++ b/compiler_opt/distributed/buffered_scheduler_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/local/__init__.py b/compiler_opt/distributed/local/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/distributed/local/__init__.py +++ b/compiler_opt/distributed/local/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/local/local_worker_manager.py b/compiler_opt/distributed/local/local_worker_manager.py index 1a336f97..0d900096 100644 --- a/compiler_opt/distributed/local/local_worker_manager.py +++ b/compiler_opt/distributed/local/local_worker_manager.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/local/local_worker_manager_test.py b/compiler_opt/distributed/local/local_worker_manager_test.py index ddaf4097..b3cef9c5 100644 --- a/compiler_opt/distributed/local/local_worker_manager_test.py +++ b/compiler_opt/distributed/local/local_worker_manager_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/worker.py b/compiler_opt/distributed/worker.py index 3ce47287..aca46d59 100644 --- a/compiler_opt/distributed/worker.py +++ b/compiler_opt/distributed/worker.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/distributed/worker_test.py b/compiler_opt/distributed/worker_test.py index 68e3f8fc..655bd33b 100644 --- a/compiler_opt/distributed/worker_test.py +++ b/compiler_opt/distributed/worker_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/__init__.py b/compiler_opt/es/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/es/__init__.py +++ b/compiler_opt/es/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_evaluator.py b/compiler_opt/es/blackbox_evaluator.py index 78edc545..7222f737 100644 --- a/compiler_opt/es/blackbox_evaluator.py +++ b/compiler_opt/es/blackbox_evaluator.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_evaluator_test.py b/compiler_opt/es/blackbox_evaluator_test.py index bac38395..492d7e8f 100644 --- a/compiler_opt/es/blackbox_evaluator_test.py +++ b/compiler_opt/es/blackbox_evaluator_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_learner.py b/compiler_opt/es/blackbox_learner.py index 703de6cb..c8e962f3 100644 --- a/compiler_opt/es/blackbox_learner.py +++ b/compiler_opt/es/blackbox_learner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_learner_test.py b/compiler_opt/es/blackbox_learner_test.py index c8b2548b..6fdd134e 100644 --- a/compiler_opt/es/blackbox_learner_test.py +++ b/compiler_opt/es/blackbox_learner_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_optimizers.py b/compiler_opt/es/blackbox_optimizers.py index d0963570..97fb9db2 100644 --- a/compiler_opt/es/blackbox_optimizers.py +++ b/compiler_opt/es/blackbox_optimizers.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_optimizers_test.py b/compiler_opt/es/blackbox_optimizers_test.py index 0e7ec706..308aebd9 100644 --- a/compiler_opt/es/blackbox_optimizers_test.py +++ b/compiler_opt/es/blackbox_optimizers_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/blackbox_test_utils.py b/compiler_opt/es/blackbox_test_utils.py index 404525e9..d5aba49e 100644 --- a/compiler_opt/es/blackbox_test_utils.py +++ b/compiler_opt/es/blackbox_test_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/es_trainer.py b/compiler_opt/es/es_trainer.py index f424b5c6..4042295a 100644 --- a/compiler_opt/es/es_trainer.py +++ b/compiler_opt/es/es_trainer.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/es_trainer_lib.py b/compiler_opt/es/es_trainer_lib.py index fcd0e241..793d0bc7 100644 --- a/compiler_opt/es/es_trainer_lib.py +++ b/compiler_opt/es/es_trainer_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/gradient_ascent_optimization_algorithms.py b/compiler_opt/es/gradient_ascent_optimization_algorithms.py index acd8530a..75f0bcb7 100644 --- a/compiler_opt/es/gradient_ascent_optimization_algorithms.py +++ b/compiler_opt/es/gradient_ascent_optimization_algorithms.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/gradient_ascent_optimization_algorithms_test.py b/compiler_opt/es/gradient_ascent_optimization_algorithms_test.py index e4af6c62..5353ca53 100644 --- a/compiler_opt/es/gradient_ascent_optimization_algorithms_test.py +++ b/compiler_opt/es/gradient_ascent_optimization_algorithms_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/policy_utils.py b/compiler_opt/es/policy_utils.py index 1d101a9b..e9126544 100644 --- a/compiler_opt/es/policy_utils.py +++ b/compiler_opt/es/policy_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/policy_utils_test.py b/compiler_opt/es/policy_utils_test.py index e94a67db..2603fe1a 100644 --- a/compiler_opt/es/policy_utils_test.py +++ b/compiler_opt/es/policy_utils_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/regalloc_trace/__init__.py b/compiler_opt/es/regalloc_trace/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/es/regalloc_trace/__init__.py +++ b/compiler_opt/es/regalloc_trace/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/regalloc_trace/regalloc_trace_worker.py b/compiler_opt/es/regalloc_trace/regalloc_trace_worker.py index 2e53c5dd..9717de5a 100644 --- a/compiler_opt/es/regalloc_trace/regalloc_trace_worker.py +++ b/compiler_opt/es/regalloc_trace/regalloc_trace_worker.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py b/compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py index 0569a5e5..29c73b73 100644 --- a/compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py +++ b/compiler_opt/es/regalloc_trace/regalloc_trace_worker_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/__init__.py b/compiler_opt/rl/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/rl/__init__.py +++ b/compiler_opt/rl/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/agent_config.py b/compiler_opt/rl/agent_config.py index 49139b9d..b9be9f1c 100644 --- a/compiler_opt/rl/agent_config.py +++ b/compiler_opt/rl/agent_config.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/agent_config_test.py b/compiler_opt/rl/agent_config_test.py index c9bbb033..a9088b8a 100644 --- a/compiler_opt/rl/agent_config_test.py +++ b/compiler_opt/rl/agent_config_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/best_trajectory.py b/compiler_opt/rl/best_trajectory.py index eb58b6f1..754ce94f 100644 --- a/compiler_opt/rl/best_trajectory.py +++ b/compiler_opt/rl/best_trajectory.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/best_trajectory_test.py b/compiler_opt/rl/best_trajectory_test.py index 06a67102..e40e9b9a 100644 --- a/compiler_opt/rl/best_trajectory_test.py +++ b/compiler_opt/rl/best_trajectory_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/compilation_runner.py b/compiler_opt/rl/compilation_runner.py index ef022f8c..8fae82a2 100644 --- a/compiler_opt/rl/compilation_runner.py +++ b/compiler_opt/rl/compilation_runner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/compilation_runner_test.py b/compiler_opt/rl/compilation_runner_test.py index e8cb7abe..1cf78587 100644 --- a/compiler_opt/rl/compilation_runner_test.py +++ b/compiler_opt/rl/compilation_runner_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/constant.py b/compiler_opt/rl/constant.py index 7e526a65..c6eefec5 100644 --- a/compiler_opt/rl/constant.py +++ b/compiler_opt/rl/constant.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/constant_value_network.py b/compiler_opt/rl/constant_value_network.py index f5204520..240de431 100644 --- a/compiler_opt/rl/constant_value_network.py +++ b/compiler_opt/rl/constant_value_network.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/constant_value_network_test.py b/compiler_opt/rl/constant_value_network_test.py index 8db5ed89..beff864a 100644 --- a/compiler_opt/rl/constant_value_network_test.py +++ b/compiler_opt/rl/constant_value_network_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/corpus.py b/compiler_opt/rl/corpus.py index a828a537..cf8f4440 100644 --- a/compiler_opt/rl/corpus.py +++ b/compiler_opt/rl/corpus.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/corpus_test.py b/compiler_opt/rl/corpus_test.py index 846a0fc7..4ff1d6fe 100644 --- a/compiler_opt/rl/corpus_test.py +++ b/compiler_opt/rl/corpus_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/data_collector.py b/compiler_opt/rl/data_collector.py index 57bbbe56..ac5412a1 100644 --- a/compiler_opt/rl/data_collector.py +++ b/compiler_opt/rl/data_collector.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/data_collector_test.py b/compiler_opt/rl/data_collector_test.py index 0f8d2f6a..7d1e496b 100644 --- a/compiler_opt/rl/data_collector_test.py +++ b/compiler_opt/rl/data_collector_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/data_reader.py b/compiler_opt/rl/data_reader.py index 5656ce70..34e1eb8d 100644 --- a/compiler_opt/rl/data_reader.py +++ b/compiler_opt/rl/data_reader.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/data_reader_test.py b/compiler_opt/rl/data_reader_test.py index f213d99b..0c850bdb 100644 --- a/compiler_opt/rl/data_reader_test.py +++ b/compiler_opt/rl/data_reader_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/__init__.py b/compiler_opt/rl/distributed/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/rl/distributed/__init__.py +++ b/compiler_opt/rl/distributed/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/agent.py b/compiler_opt/rl/distributed/agent.py index 575068c5..f616f43a 100644 --- a/compiler_opt/rl/distributed/agent.py +++ b/compiler_opt/rl/distributed/agent.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/learner.py b/compiler_opt/rl/distributed/learner.py index aad9b640..08998a2e 100644 --- a/compiler_opt/rl/distributed/learner.py +++ b/compiler_opt/rl/distributed/learner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_collect.py b/compiler_opt/rl/distributed/ppo_collect.py index 973397ab..b2b51087 100644 --- a/compiler_opt/rl/distributed/ppo_collect.py +++ b/compiler_opt/rl/distributed/ppo_collect.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_collect_lib.py b/compiler_opt/rl/distributed/ppo_collect_lib.py index f4a75332..828e71d9 100644 --- a/compiler_opt/rl/distributed/ppo_collect_lib.py +++ b/compiler_opt/rl/distributed/ppo_collect_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_eval.py b/compiler_opt/rl/distributed/ppo_eval.py index e1aa2eb7..618f95a3 100644 --- a/compiler_opt/rl/distributed/ppo_eval.py +++ b/compiler_opt/rl/distributed/ppo_eval.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_eval_lib.py b/compiler_opt/rl/distributed/ppo_eval_lib.py index fc9c449a..3816ec6c 100644 --- a/compiler_opt/rl/distributed/ppo_eval_lib.py +++ b/compiler_opt/rl/distributed/ppo_eval_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_reverb_server.py b/compiler_opt/rl/distributed/ppo_reverb_server.py index 9a0c929a..cc517ddb 100644 --- a/compiler_opt/rl/distributed/ppo_reverb_server.py +++ b/compiler_opt/rl/distributed/ppo_reverb_server.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_reverb_server_lib.py b/compiler_opt/rl/distributed/ppo_reverb_server_lib.py index 487e7f8f..b07bd184 100644 --- a/compiler_opt/rl/distributed/ppo_reverb_server_lib.py +++ b/compiler_opt/rl/distributed/ppo_reverb_server_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_train.py b/compiler_opt/rl/distributed/ppo_train.py index fdddb267..b725d256 100644 --- a/compiler_opt/rl/distributed/ppo_train.py +++ b/compiler_opt/rl/distributed/ppo_train.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/distributed/ppo_train_lib.py b/compiler_opt/rl/distributed/ppo_train_lib.py index e643d19c..b4325b96 100644 --- a/compiler_opt/rl/distributed/ppo_train_lib.py +++ b/compiler_opt/rl/distributed/ppo_train_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/env.py b/compiler_opt/rl/env.py index 775187c4..a858f25f 100644 --- a/compiler_opt/rl/env.py +++ b/compiler_opt/rl/env.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/env_test.py b/compiler_opt/rl/env_test.py index 98ad3335..c7f499d7 100644 --- a/compiler_opt/rl/env_test.py +++ b/compiler_opt/rl/env_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/feature_ops.py b/compiler_opt/rl/feature_ops.py index 59971e1a..6d39515a 100644 --- a/compiler_opt/rl/feature_ops.py +++ b/compiler_opt/rl/feature_ops.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/feature_ops_test.py b/compiler_opt/rl/feature_ops_test.py index bffcbb5e..ca29e242 100644 --- a/compiler_opt/rl/feature_ops_test.py +++ b/compiler_opt/rl/feature_ops_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/gin_external_configurables.py b/compiler_opt/rl/gin_external_configurables.py index 15c170c8..e876d9eb 100644 --- a/compiler_opt/rl/gin_external_configurables.py +++ b/compiler_opt/rl/gin_external_configurables.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/__init__.py b/compiler_opt/rl/imitation_learning/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/rl/imitation_learning/__init__.py +++ b/compiler_opt/rl/imitation_learning/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/generate_bc_trajectories.py b/compiler_opt/rl/imitation_learning/generate_bc_trajectories.py index c333642e..49bb496f 100644 --- a/compiler_opt/rl/imitation_learning/generate_bc_trajectories.py +++ b/compiler_opt/rl/imitation_learning/generate_bc_trajectories.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/generate_bc_trajectories_lib.py b/compiler_opt/rl/imitation_learning/generate_bc_trajectories_lib.py index 6eb13fe9..1abd2052 100644 --- a/compiler_opt/rl/imitation_learning/generate_bc_trajectories_lib.py +++ b/compiler_opt/rl/imitation_learning/generate_bc_trajectories_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/generate_bc_trajectories_test.py b/compiler_opt/rl/imitation_learning/generate_bc_trajectories_test.py index 79c99186..d4238b1c 100644 --- a/compiler_opt/rl/imitation_learning/generate_bc_trajectories_test.py +++ b/compiler_opt/rl/imitation_learning/generate_bc_trajectories_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/weighted_bc_trainer.py b/compiler_opt/rl/imitation_learning/weighted_bc_trainer.py index 376154eb..4f6cf454 100644 --- a/compiler_opt/rl/imitation_learning/weighted_bc_trainer.py +++ b/compiler_opt/rl/imitation_learning/weighted_bc_trainer.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/weighted_bc_trainer_lib.py b/compiler_opt/rl/imitation_learning/weighted_bc_trainer_lib.py index eddf4f26..c72d23d8 100644 --- a/compiler_opt/rl/imitation_learning/weighted_bc_trainer_lib.py +++ b/compiler_opt/rl/imitation_learning/weighted_bc_trainer_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/imitation_learning/weighted_bc_trainer_test.py b/compiler_opt/rl/imitation_learning/weighted_bc_trainer_test.py index 2ab68330..4055d1a0 100644 --- a/compiler_opt/rl/imitation_learning/weighted_bc_trainer_test.py +++ b/compiler_opt/rl/imitation_learning/weighted_bc_trainer_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/__init__.py b/compiler_opt/rl/inlining/__init__.py index 48fc0c2d..0da36862 100644 --- a/compiler_opt/rl/inlining/__init__.py +++ b/compiler_opt/rl/inlining/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/config.py b/compiler_opt/rl/inlining/config.py index 47fb4dac..579db59e 100644 --- a/compiler_opt/rl/inlining/config.py +++ b/compiler_opt/rl/inlining/config.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/env.py b/compiler_opt/rl/inlining/env.py index 5f1bd523..752d4620 100644 --- a/compiler_opt/rl/inlining/env.py +++ b/compiler_opt/rl/inlining/env.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/imitation_learning_config.py b/compiler_opt/rl/inlining/imitation_learning_config.py index f8976827..ef0c4b03 100644 --- a/compiler_opt/rl/inlining/imitation_learning_config.py +++ b/compiler_opt/rl/inlining/imitation_learning_config.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/imitation_learning_runner.py b/compiler_opt/rl/inlining/imitation_learning_runner.py index 9d5bbfb1..b59391e4 100644 --- a/compiler_opt/rl/inlining/imitation_learning_runner.py +++ b/compiler_opt/rl/inlining/imitation_learning_runner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/inlining/inlining_runner.py b/compiler_opt/rl/inlining/inlining_runner.py index 39f49984..f6e5e6b8 100644 --- a/compiler_opt/rl/inlining/inlining_runner.py +++ b/compiler_opt/rl/inlining/inlining_runner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/local_data_collector.py b/compiler_opt/rl/local_data_collector.py index 4a69397b..b55e245c 100644 --- a/compiler_opt/rl/local_data_collector.py +++ b/compiler_opt/rl/local_data_collector.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/local_data_collector_test.py b/compiler_opt/rl/local_data_collector_test.py index 27735964..2d03d41d 100644 --- a/compiler_opt/rl/local_data_collector_test.py +++ b/compiler_opt/rl/local_data_collector_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/log_reader.py b/compiler_opt/rl/log_reader.py index c74daefc..293ed991 100644 --- a/compiler_opt/rl/log_reader.py +++ b/compiler_opt/rl/log_reader.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/log_reader_test.py b/compiler_opt/rl/log_reader_test.py index e9465541..db5791ea 100644 --- a/compiler_opt/rl/log_reader_test.py +++ b/compiler_opt/rl/log_reader_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/policy_saver.py b/compiler_opt/rl/policy_saver.py index f77fdc89..aa50f01f 100644 --- a/compiler_opt/rl/policy_saver.py +++ b/compiler_opt/rl/policy_saver.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/policy_saver_test.py b/compiler_opt/rl/policy_saver_test.py index 69515522..ba90692e 100644 --- a/compiler_opt/rl/policy_saver_test.py +++ b/compiler_opt/rl/policy_saver_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/problem_configuration.py b/compiler_opt/rl/problem_configuration.py index 203893d4..844b84da 100644 --- a/compiler_opt/rl/problem_configuration.py +++ b/compiler_opt/rl/problem_configuration.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/random_net_distillation.py b/compiler_opt/rl/random_net_distillation.py index c8696900..ca8ef33c 100644 --- a/compiler_opt/rl/random_net_distillation.py +++ b/compiler_opt/rl/random_net_distillation.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/random_net_distillation_test.py b/compiler_opt/rl/random_net_distillation_test.py index 62d70458..82691f4a 100644 --- a/compiler_opt/rl/random_net_distillation_test.py +++ b/compiler_opt/rl/random_net_distillation_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc/__init__.py b/compiler_opt/rl/regalloc/__init__.py index 5263a671..6db2c9f8 100644 --- a/compiler_opt/rl/regalloc/__init__.py +++ b/compiler_opt/rl/regalloc/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc/config.py b/compiler_opt/rl/regalloc/config.py index a3fdb012..ad83022c 100644 --- a/compiler_opt/rl/regalloc/config.py +++ b/compiler_opt/rl/regalloc/config.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc/regalloc_network.py b/compiler_opt/rl/regalloc/regalloc_network.py index 7fc9c3d5..98c77de4 100644 --- a/compiler_opt/rl/regalloc/regalloc_network.py +++ b/compiler_opt/rl/regalloc/regalloc_network.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc/regalloc_network_test.py b/compiler_opt/rl/regalloc/regalloc_network_test.py index 16c0fe44..88ed2f71 100644 --- a/compiler_opt/rl/regalloc/regalloc_network_test.py +++ b/compiler_opt/rl/regalloc/regalloc_network_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc/regalloc_runner.py b/compiler_opt/rl/regalloc/regalloc_runner.py index dcacceb9..673655d3 100644 --- a/compiler_opt/rl/regalloc/regalloc_runner.py +++ b/compiler_opt/rl/regalloc/regalloc_runner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc_priority/__init__.py b/compiler_opt/rl/regalloc_priority/__init__.py index 2b7cc5b1..44761178 100644 --- a/compiler_opt/rl/regalloc_priority/__init__.py +++ b/compiler_opt/rl/regalloc_priority/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc_priority/config.py b/compiler_opt/rl/regalloc_priority/config.py index b912711f..0c3842a9 100644 --- a/compiler_opt/rl/regalloc_priority/config.py +++ b/compiler_opt/rl/regalloc_priority/config.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/regalloc_priority/regalloc_priority_runner.py b/compiler_opt/rl/regalloc_priority/regalloc_priority_runner.py index 57441cd4..587eb730 100644 --- a/compiler_opt/rl/regalloc_priority/regalloc_priority_runner.py +++ b/compiler_opt/rl/regalloc_priority/regalloc_priority_runner.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/registry.py b/compiler_opt/rl/registry.py index 85f8097a..2437e6bd 100644 --- a/compiler_opt/rl/registry.py +++ b/compiler_opt/rl/registry.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/train_bc.py b/compiler_opt/rl/train_bc.py index 4110a51d..f0efa020 100644 --- a/compiler_opt/rl/train_bc.py +++ b/compiler_opt/rl/train_bc.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/train_locally.py b/compiler_opt/rl/train_locally.py index 0540216f..dc9f377b 100644 --- a/compiler_opt/rl/train_locally.py +++ b/compiler_opt/rl/train_locally.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/trainer.py b/compiler_opt/rl/trainer.py index 94fa88b0..4a10ba8e 100644 --- a/compiler_opt/rl/trainer.py +++ b/compiler_opt/rl/trainer.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/rl/trainer_test.py b/compiler_opt/rl/trainer_test.py index 16044c65..8221a651 100644 --- a/compiler_opt/rl/trainer_test.py +++ b/compiler_opt/rl/trainer_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/testing/__init__.py b/compiler_opt/testing/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/testing/__init__.py +++ b/compiler_opt/testing/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/testing/model_test_utils.py b/compiler_opt/testing/model_test_utils.py index 556602e5..0480161f 100644 --- a/compiler_opt/testing/model_test_utils.py +++ b/compiler_opt/testing/model_test_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/__init__.py b/compiler_opt/tools/__init__.py index 441a4a74..6913f02e 100644 --- a/compiler_opt/tools/__init__.py +++ b/compiler_opt/tools/__init__.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/combine_tfa_policies.py b/compiler_opt/tools/combine_tfa_policies.py index c3146711..0bebf6cb 100755 --- a/compiler_opt/tools/combine_tfa_policies.py +++ b/compiler_opt/tools/combine_tfa_policies.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/combine_tfa_policies_lib.py b/compiler_opt/tools/combine_tfa_policies_lib.py index 4d1de2b3..d8f37f78 100644 --- a/compiler_opt/tools/combine_tfa_policies_lib.py +++ b/compiler_opt/tools/combine_tfa_policies_lib.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/combine_tfa_policies_lib_test.py b/compiler_opt/tools/combine_tfa_policies_lib_test.py index 7cd873c5..30757cf8 100644 --- a/compiler_opt/tools/combine_tfa_policies_lib_test.py +++ b/compiler_opt/tools/combine_tfa_policies_lib_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/feature_importance.py b/compiler_opt/tools/feature_importance.py index 09b022fc..047fe8d2 100644 --- a/compiler_opt/tools/feature_importance.py +++ b/compiler_opt/tools/feature_importance.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/feature_importance_graphs.py b/compiler_opt/tools/feature_importance_graphs.py index b6b084d7..6c77c3da 100644 --- a/compiler_opt/tools/feature_importance_graphs.py +++ b/compiler_opt/tools/feature_importance_graphs.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/feature_importance_utils.py b/compiler_opt/tools/feature_importance_utils.py index 6a32a019..84e36b9a 100644 --- a/compiler_opt/tools/feature_importance_utils.py +++ b/compiler_opt/tools/feature_importance_utils.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/feature_importance_utils_test.py b/compiler_opt/tools/feature_importance_utils_test.py index fe02a028..d6b35855 100644 --- a/compiler_opt/tools/feature_importance_utils_test.py +++ b/compiler_opt/tools/feature_importance_utils_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/generate_default_trace.py b/compiler_opt/tools/generate_default_trace.py index a00d8646..a6c343c2 100644 --- a/compiler_opt/tools/generate_default_trace.py +++ b/compiler_opt/tools/generate_default_trace.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/generate_default_trace_test.py b/compiler_opt/tools/generate_default_trace_test.py index f7befe07..0ea03b32 100644 --- a/compiler_opt/tools/generate_default_trace_test.py +++ b/compiler_opt/tools/generate_default_trace_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/generate_test_model.py b/compiler_opt/tools/generate_test_model.py index 45530c97..bd315836 100644 --- a/compiler_opt/tools/generate_test_model.py +++ b/compiler_opt/tools/generate_test_model.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/generate_test_model_test.py b/compiler_opt/tools/generate_test_model_test.py index 8f90b0f5..4289edb3 100644 --- a/compiler_opt/tools/generate_test_model_test.py +++ b/compiler_opt/tools/generate_test_model_test.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/generate_vocab.py b/compiler_opt/tools/generate_vocab.py index 38fbd213..37657032 100644 --- a/compiler_opt/tools/generate_vocab.py +++ b/compiler_opt/tools/generate_vocab.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/tools/merge_best_trajectory.py b/compiler_opt/tools/merge_best_trajectory.py index 95d38ec2..098bc824 100644 --- a/compiler_opt/tools/merge_best_trajectory.py +++ b/compiler_opt/tools/merge_best_trajectory.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/compiler_opt/type_map.py b/compiler_opt/type_map.py index 0194ee79..b35e1772 100644 --- a/compiler_opt/type_map.py +++ b/compiler_opt/type_map.py @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/license-header.txt b/license-header.txt index 441a4a74..6913f02e 100644 --- a/license-header.txt +++ b/license-header.txt @@ -1,4 +1,3 @@ -# coding=utf-8 # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License");