aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/hlo_matchers.h
diff options
context:
space:
mode:
authorGravatar Sanjoy Das <sanjoy@google.com>2018-05-07 12:48:38 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-07 17:02:12 -0700
commit91fb950c266345ca5b689038adad5e1c31d36b57 (patch)
tree16601402ce31d1ef2391efe1f59b10c2d7951567 /tensorflow/compiler/xla/service/hlo_matchers.h
parenta0496a1646fd13188cc985889ca325c004674a17 (diff)
Rename HloDotWithContractDimsMatcher to HloDotWithContractingDimsMatcher
This is a typo I introduced in cr/195514907. PiperOrigin-RevId: 195706006
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_matchers.h')
-rw-r--r--tensorflow/compiler/xla/service/hlo_matchers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_matchers.h b/tensorflow/compiler/xla/service/hlo_matchers.h
index 75231beac7..c33bdadf1c 100644
--- a/tensorflow/compiler/xla/service/hlo_matchers.h
+++ b/tensorflow/compiler/xla/service/hlo_matchers.h
@@ -133,9 +133,9 @@ class HloShardingMatcher
// Matches a Dot HLO instruction with specific LHS and RHS contracting
// dimensions.
-class HloDotWithContractDimsMatcher : public HloMatcher {
+class HloDotWithContractingDimsMatcher : public HloMatcher {
public:
- explicit HloDotWithContractDimsMatcher(
+ explicit HloDotWithContractingDimsMatcher(
::testing::Matcher<const HloInstruction*> lhs,
::testing::Matcher<const HloInstruction*> rhs, int64 lhs_contracting_dim,
int64 rhs_contracting_dim)
@@ -350,7 +350,7 @@ inline ::testing::Matcher<const ::xla::HloInstruction*> Dot(
::testing::Matcher<const HloInstruction*> rhs_matcher,
int64 lhs_contracting_dim, int64 rhs_contracting_dim) {
return ::testing::MakeMatcher(
- new ::xla::testing::HloDotWithContractDimsMatcher(
+ new ::xla::testing::HloDotWithContractingDimsMatcher(
lhs_matcher, rhs_matcher, lhs_contracting_dim, rhs_contracting_dim));
}