aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Thomas Joerg <tjoerg@google.com>2018-07-12 00:59:10 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-12 01:02:58 -0700
commit622a111e88dfbac430556ec8213230345189f466 (patch)
tree018eed3a9335e52301425e1621dc87d3dffed876
parent80fb8679ab14ba3d180e8eb22da11509a15b9219 (diff)
Fix typos.
PiperOrigin-RevId: 204256888
-rw-r--r--tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h b/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h
index a1cc38401c..59547c16d7 100644
--- a/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h
+++ b/tensorflow/compiler/xla/service/gpu/ir_emitter_unnested.h
@@ -118,7 +118,7 @@ class IrEmitterUnnested : public IrEmitter {
// Emits code that reduces a matrix of shape [height x width] to a vector of
// [width]. Other parameters have the same meaning as those of
// `EmitReductionToVector`. Note that input shape might not be
- // [height x width], but can be bitcast to [height x weight] with "height"
+ // [height x width], but can be bitcast to [height x width] with "height"
// being the major dimension.
Status EmitColumnReduction(
int64 height, int64 width, HloInstruction* reduce,
@@ -134,7 +134,7 @@ class IrEmitterUnnested : public IrEmitter {
// Emits code that reduces a 3D tensor of shape [depth x height x width] to a
// vector of shape [height]. Other parameters have the same meaning as those
// of `EmitReductionToVector`. Note that input shape might not be
- // [depth x height x width], but can be bitcast to [depth x height x weight]
+ // [depth x height x width], but can be bitcast to [depth x height x width]
// with "depth" being the most major dimension.
Status EmitRowReduction(
int64 depth, int64 height, int64 width, HloInstruction* reduce,