commit
e2307e2298
@ -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));
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user