MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / UpdateTupleShape

Method UpdateTupleShape

tensorflow/compiler/xla/shape_util.cc:295–299  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

293}
294
295/* static */ void ShapeUtil::UpdateTupleShape(const Shape& shape, int64 index,
296 Shape* tuple_shape) {
297 CHECK(index < tuple_shape->tuple_shapes_size());
298 *tuple_shape->mutable_tuple_shapes(index) = shape;
299}
300
301/* static */ void ShapeUtil::UpdateDynamicDimension(Shape* shape,
302 ShapeIndexView index,

Callers

nothing calls this directly

Calls 2

tuple_shapes_sizeMethod · 0.80
mutable_tuple_shapesMethod · 0.80

Tested by

no test coverage detected