Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/
Dshape_test.cc124 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
137 ShapeUtil::GetMutableSubshape(&dynamic_tuple, {2}) in TEST_F()
Dshape_layout.cc73 *ShapeUtil::GetMutableSubshape(&shape_, shape_index)->mutable_layout() = in ResetLayout()
Dshape_util_test.cc419 array_shape, *ShapeUtil::GetMutableSubshape(&array_shape, {}))); in TEST()
518 EXPECT_EQ(subshape, ShapeUtil::GetMutableSubshape(&shape, index)); in TEST()
Dshape_util.h495 static Shape* GetMutableSubshape(Shape* shape, ShapeIndexView index);
Dshape_util.cc807 /* static */ Shape* ShapeUtil::GetMutableSubshape(Shape* shape, in GetMutableSubshape() function in xla::ShapeUtil
Dliteral.cc582 Shape* subshape = ShapeUtil::GetMutableSubshape(&new_shape, shape_index); in Relayout()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_propagation.cc830 Shape* subshape = ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index); in OutputTypeAfterChange()
853 entry.emplace(ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index), in AddToOrRemoveFromBF16ChangeSet()
862 ShapeUtil::GetMutableSubshape(hlo->mutable_shape(), index)); in AddToOrRemoveFromBF16ChangeSet()
Dbfloat16_conversion_folding.cc229 ShapeUtil::GetMutableSubshape(crs->mutable_shape(), {i}) in HandleAllReduce()
Dbfloat16_normalization.cc239 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()
Dhlo_instruction_test.cc742 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), {0}) in TEST_F()
744 *ShapeUtil::GetMutableSubshape(tuple->mutable_shape(), {1}) in TEST_F()
Dlayout_assignment.cc1624 Shape* buffer_subshape = ShapeUtil::GetMutableSubshape( in AssignLayouts()
1857 ShapeUtil::GetMutableSubshape(instruction->mutable_shape(), {0}); in ConstrainChannelLayouts()
Dpattern_matcher.h920 return ShapeUtil::GetMutableSubshape(shape, index_);
Dhlo_instructions.cc1047 ShapeUtil::GetMutableSubshape(mutable_shape(), shape_index); in RelayoutConstant()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc364 *xla::ShapeUtil::GetMutableSubshape(host_shape, index) = in ExpandTreeOfTuples()
366 *xla::ShapeUtil::GetMutableSubshape(device_shape, index) = in ExpandTreeOfTuples()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h77 *xla::ShapeUtil::GetMutableSubshape(shape, {}) = in ParseTupleNode()
82 xla::ShapeUtil::GetMutableSubshape(shape, {i}), rm)); in ParseTupleNode()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiler.cc333 xla::Shape* output_sub_shape = xla::ShapeUtil::GetMutableSubshape( in BuildComputation()