Prefix OpFusion and ConvertReadonlyReferenceVariablesToResourceVariablesPass pass flag with 'tf'. (NFC)

Other passes have the 'tf' prefix for their flags, so this is to have flags be more consistent with one another, under the tensorflow directory.

PiperOrigin-RevId: 315355169
Change-Id: I42258041c5b455a140f5e338f146b305a16f7a83
This commit is contained in:
Andy Ly 2020-06-08 14:35:55 -07:00 committed by TensorFlower Gardener
parent 04a5c1d9b4
commit 1acf61f028
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// RUN: tf-opt %s -op-fusion | FileCheck %s --dump-input-on-failure // RUN: tf-opt %s -tf-op-fusion | FileCheck %s --dump-input-on-failure
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Conv2D + BiasAdd + <Activation> fusions. // Conv2D + BiasAdd + <Activation> fusions.

View File

@ -1,4 +1,4 @@
// RUN: tf-opt -verify-diagnostics -readonly-references-to-resources -split-input-file %s | FileCheck %s --dump-input=fail // RUN: tf-opt -verify-diagnostics -tf-readonly-references-to-resources -split-input-file %s | FileCheck %s --dump-input=fail
// Test case: Basic converting. // Test case: Basic converting.

View File

@ -166,7 +166,7 @@ std::unique_ptr<OperationPass<FuncOp>> CreateOpFusionPass() {
} }
static PassRegistration<OpFusionPass> pass( static PassRegistration<OpFusionPass> pass(
"op-fusion", "tf-op-fusion",
"Replaces commonly occurring subgraphs with optimized fused kernels"); "Replaces commonly occurring subgraphs with optimized fused kernels");
} // namespace TF } // namespace TF

View File

@ -171,7 +171,7 @@ CreateConvertReadonlyReferenceVariablesToResourceVariablesPass() {
static PassRegistration< static PassRegistration<
ConvertReadonlyReferenceVariablesToResourceVariablesPass> ConvertReadonlyReferenceVariablesToResourceVariablesPass>
pass("readonly-references-to-resources", pass("tf-readonly-references-to-resources",
"Convert readonly reference variables to resource variables."); "Convert readonly reference variables to resource variables.");
} // namespace TF } // namespace TF