Merge pull request #15249 from ManHyuk/typo

fix typo
This commit is contained in:
Shanqing Cai 2017-12-10 10:04:32 -05:00 committed by GitHub
commit e2307e2298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -339,7 +339,7 @@ TEST_F(CopyInsertionTest, ElementOfNestedTupleParameter) {
ShapeUtil::MakeShape(F32, {42})}),
"param0"));
// The return value of the computation is the zero-th elemnt of the nested
// The return value of the computation is the zero-th element of the nested
// tuple. This element is itself a tuple.
auto gte = builder.AddInstruction(HloInstruction::CreateGetTupleElement(
ShapeUtil::GetSubshape(param->shape(), {0}), param, 0));

View File

@ -238,7 +238,7 @@ class ShapeTree {
// (or compatible).
// index : the index of the element in the shape. See ShapeUtil::GetSubshape
// for definition of index.
// data : The data value at this elemnt.
// data : The data value at this element.
template <typename Fn>
void ForEachElement(const Fn& func) const;