diff options
author | Michael Kuperstein <mkuper@google.com> | 2018-08-29 13:23:20 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-29 13:26:41 -0700 |
commit | 065f9b833ffbb3b2f03d63febb186275674ba133 (patch) | |
tree | b4521b490c7b1af24cec410e2d3d02419428df64 /tensorflow/compiler/xla/service/hlo_instructions.cc | |
parent | 52773e6765649b9963985c81fc0612742ffac73b (diff) |
Automated rollback of commit 150dee25d82589ca109957cc996efbd2a236e044
PiperOrigin-RevId: 210778248
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_instructions.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_instructions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_instructions.cc b/tensorflow/compiler/xla/service/hlo_instructions.cc index 0b7f741d73..ffc74cfedd 100644 --- a/tensorflow/compiler/xla/service/hlo_instructions.cc +++ b/tensorflow/compiler/xla/service/hlo_instructions.cc @@ -586,7 +586,7 @@ std::unique_ptr<HloInstruction> HloReduceInstruction::CloneWithNewOperandsImpl( const Shape& shape, tensorflow::gtl::ArraySlice<HloInstruction*> new_operands, HloCloneContext* context) const { - CHECK_EQ(new_operands.size() % 2, 0); + CHECK_EQ(new_operands.size(), 2); return absl::make_unique<HloReduceInstruction>(shape, new_operands, dimensions(), to_apply()); } |