diff options
author | Yifei Feng <yifeif@google.com> | 2017-11-22 13:42:21 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-11-22 13:50:02 -0800 |
commit | b1d8c59e9b014b527fb2fbef9ce9afc14dbc4938 (patch) | |
tree | af207d5a90f3176bdd3fbffbe1e98258125bf389 /tensorflow/compiler/xla/service | |
parent | e219aeb542779d90a582ffe16f8602cd1b275b22 (diff) |
Merge changes from github.
PiperOrigin-RevId: 176695926
Diffstat (limited to 'tensorflow/compiler/xla/service')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_instruction.h | 2 | ||||
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_instruction_test.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_instruction.h b/tensorflow/compiler/xla/service/hlo_instruction.h index 1bd0cca945..cda8b07c61 100644 --- a/tensorflow/compiler/xla/service/hlo_instruction.h +++ b/tensorflow/compiler/xla/service/hlo_instruction.h @@ -222,7 +222,7 @@ class HloInstruction { tensorflow::gtl::ArraySlice<int64> strides); // Creates a slice instruction, where the first operand is sliced by - // start indices specified in the second operand, and by size specfied in + // start indices specified in the second operand, and by size specified in // 'slice_sizes'. static std::unique_ptr<HloInstruction> CreateDynamicSlice( const Shape& shape, HloInstruction* operand, diff --git a/tensorflow/compiler/xla/service/hlo_instruction_test.cc b/tensorflow/compiler/xla/service/hlo_instruction_test.cc index 070bb4bc42..76b12fc8d3 100644 --- a/tensorflow/compiler/xla/service/hlo_instruction_test.cc +++ b/tensorflow/compiler/xla/service/hlo_instruction_test.cc @@ -792,8 +792,8 @@ TEST_F(HloInstructionTest, ComplexFusionOp) { // sub = Sub(mul, clamp) // tuple = Tuple({sub, sub, mul, C1}) // - // Notable complexities are repeated operands in a same instruction, different - // shapes, use of value in different expressions. + // Notable complexities are repeated operands in the same instruction, + // different shapes, use of value in different expressions. auto c1 = builder.AddInstruction( HloInstruction::CreateConstant(Literal::CreateR0<float>(1.1f))); auto c2 = builder.AddInstruction( |