Home
last modified time | relevance | path

Searched refs:GetMutableSubshape (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_conversion_folding.cc244 ShapeUtil::GetMutableSubshape(crs->mutable_shape(), {i}) in HandleAllReduce()
247 ShapeUtil::GetMutableSubshape(crs->mutable_shape(), {i})); in HandleAllReduce()
Dmemory_space_propagation.cc65 Shape* shape = ShapeUtil::GetMutableSubshape(instruction->mutable_shape(), in Propagate()
Dbfloat16_propagation.cc930 ShapeUtil::GetMutableSubshape( in Run()
984 Shape* subshape = ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index); in OutputTypeAfterChange()
1007 entry.emplace(ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index), in AddToOrRemoveFromBF16ChangeSet()
1016 ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index)); in AddToOrRemoveFromBF16ChangeSet()
Dtransfer_manager.cc219 *ShapeUtil::GetMutableSubshape(device_shape, index); in ReadDynamicShapes()
Dbfloat16_normalization.cc351 auto subshape = ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), {i}); in HandleMultipleOutputs()
Dlayout_assignment_test.cc310 *ShapeUtil::GetMutableSubshape(&result_shape, /*index=*/{0, 0}) = in TEST_F()
312 *ShapeUtil::GetMutableSubshape(&result_shape, /*index=*/{1, 0}) = in TEST_F()
Dlayout_assignment.cc1753 Shape* buffer_subshape = ShapeUtil::GetMutableSubshape( in AssignLayouts()
2036 Shape* shape = ShapeUtil::GetMutableSubshape( in PropagateMemorySpace()
Dhlo_instruction_test.cc744 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), {0}) in TEST_F()
746 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), {1}) in TEST_F()
Dmemory_space_assignment.cc1167 Shape* shape = ShapeUtil::GetMutableSubshape( in Finish()
2980 Shape* shape = ShapeUtil::GetMutableSubshape( in ExportAndColorBuffers()
Dbuffer_assignment.cc262 Shape* shape = ShapeUtil::GetMutableSubshape( in AddAssignment()
Dpattern_matcher.h901 return ShapeUtil::GetMutableSubshape(shape, index_);
Dmemory_space_assignment_test.cc3143 *ShapeUtil::GetMutableSubshape(&tuple_shape, {0})->mutable_layout() = in TEST_P()
3148 *ShapeUtil::GetMutableSubshape(&tuple_shape, {1})->mutable_layout() = in TEST_P()
3153 *ShapeUtil::GetMutableSubshape(&tuple_shape, {2})->mutable_layout() = in TEST_P()
Dhlo_instructions.cc1287 ShapeUtil::GetMutableSubshape(mutable_shape(), shape_index); in RelayoutConstant()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_test.cc127 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
140 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
Dshape_layout.cc78 *ShapeUtil::GetMutableSubshape(&shape_, shape_index)->mutable_layout() = in ResetLayout()
Dshape_util_test.cc443 array_shape, *ShapeUtil::GetMutableSubshape(&array_shape, {}))); in TEST()
542 EXPECT_EQ(subshape, ShapeUtil::GetMutableSubshape(&shape, index)); in TEST()
Dshape_util.h557 static Shape* GetMutableSubshape(Shape* shape, ShapeIndexView index);
Dliteral.cc535 Shape* subshape_ = ShapeUtil::GetMutableSubshape(shape_.get(), shape_index); in SetDynamicSize()
712 Shape* subshape = ShapeUtil::GetMutableSubshape(&new_shape, shape_index); in Relayout()
Dshape_util.cc934 /* static */ Shape* ShapeUtil::GetMutableSubshape(Shape* shape, in GetMutableSubshape() function in xla::ShapeUtil
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc438 *xla::ShapeUtil::GetMutableSubshape(host_shape, index) = in ExpandTreeOfTuples()
440 *xla::ShapeUtil::GetMutableSubshape(device_shape, index) = in ExpandTreeOfTuples()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h81 *xla::ShapeUtil::GetMutableSubshape(shape, {}) = in ParseTupleNode()
86 xla::ShapeUtil::GetMutableSubshape(shape, {i}), rm)); in ParseTupleNode()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dinfeed_ops.cc137 xla::ShapeUtil::GetMutableSubshape(output_shape, {i}); in GetInfeedShapeWithLayout()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Ddot_handler.cc2954 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), in SinkInputNodesIntoWindowedDotGeneralLoopOnContractingDimensions()
3186 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), {2}) = in MoveUsersIntoWindowedDotGeneralLoopOnNonContractingDimensions()