Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_conversion_folding.cc238 ShapeUtil::GetMutableSubshape(crs->mutable_shape(), {i}) in HandleAllReduce()
241 ShapeUtil::GetMutableSubshape(crs->mutable_shape(), {i})); in HandleAllReduce()
Dbfloat16_propagation.cc828 ShapeUtil::GetMutableSubshape( in Run()
882 Shape* subshape = ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index); in OutputTypeAfterChange()
905 entry.emplace(ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index), in AddToOrRemoveFromBF16ChangeSet()
914 ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index)); in AddToOrRemoveFromBF16ChangeSet()
Dbfloat16_normalization.cc351 auto subshape = ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), {i}); in HandleMultipleOutputs()
Dmemory_space_assignment.cc353 Shape* shape = ShapeUtil::GetMutableSubshape( in Finish()
1398 Shape* shape = ShapeUtil::GetMutableSubshape( in Process()
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.cc1730 Shape* buffer_subshape = ShapeUtil::GetMutableSubshape( in AssignLayouts()
1996 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_test.cc2026 *ShapeUtil::GetMutableSubshape(&tuple_shape, {0})->mutable_layout() = in TEST_P()
2032 *ShapeUtil::GetMutableSubshape(&tuple_shape, {1})->mutable_layout() = in TEST_P()
2036 *ShapeUtil::GetMutableSubshape(&tuple_shape, {2})->mutable_layout() = in TEST_P()
Dbuffer_assignment.cc258 Shape* shape = ShapeUtil::GetMutableSubshape( in AddAssignment()
Dpattern_matcher.h914 return ShapeUtil::GetMutableSubshape(shape, index_);
Dhlo_instructions.cc1146 ShapeUtil::GetMutableSubshape(mutable_shape(), shape_index); in RelayoutConstant()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_test.cc126 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
139 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
Dshape_layout.cc78 *ShapeUtil::GetMutableSubshape(&shape_, shape_index)->mutable_layout() = in ResetLayout()
Dshape_util_test.cc441 array_shape, *ShapeUtil::GetMutableSubshape(&array_shape, {}))); in TEST()
540 EXPECT_EQ(subshape, ShapeUtil::GetMutableSubshape(&shape, index)); in TEST()
Dshape_util.h508 static Shape* GetMutableSubshape(Shape* shape, ShapeIndexView index);
Dshape_util.cc807 /* static */ Shape* ShapeUtil::GetMutableSubshape(Shape* shape, in GetMutableSubshape() function in xla::ShapeUtil
Dliteral.cc576 Shape* subshape = ShapeUtil::GetMutableSubshape(&new_shape, shape_index); in Relayout()
/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/compiler/tf2xla/
Dxla_compiler.cc407 xla::Shape* output_sub_shape = xla::ShapeUtil::GetMutableSubshape( in BuildComputation()