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:
parent
04a5c1d9b4
commit
1acf61f028
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue