Home
last modified time | relevance | path

Searched refs:GetTupleElementShape (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander_test.cc101 ShapeUtil::GetTupleElementShape(while_shape, 1))); in TEST_F()
105 ShapeUtil::GetTupleElementShape(while_shape, 2))); in TEST_F()
109 ShapeUtil::GetTupleElementShape(while_shape, 3))); in TEST_F()
Dhlo_element_type_converter.cc70 Shape subshape = ShapeUtil::GetTupleElementShape(shape, i); in GetConvertedTupleShape()
91 const Shape& ele_shape = ShapeUtil::GetTupleElementShape(shape, i); in ConvertTupleElements()
94 const Shape& to_ele_shape = ShapeUtil::GetTupleElementShape(to_shape, i); in ConvertTupleElements()
Dhlo_domain_test.cc392 ShapeUtil::GetTupleElementShape(infeed_data->shape(), 0), infeed_data, in TEST_F()
399 ShapeUtil::GetTupleElementShape(infeed_data->shape(), 1), infeed_data, in TEST_F()
646 ShapeUtil::GetTupleElementShape(copy1->shape(), 0), copy1, 0)); in TEST_F()
649 ShapeUtil::GetTupleElementShape(tuple0->shape(), 1), tuple0, 1)); in TEST_F()
Dallocation_tracker.cc163 ShapeUtil::GetTupleElementShape(shaped_buffer->on_host_shape(), i), in DeconstructTuple()
164 ShapeUtil::GetTupleElementShape(shaped_buffer->on_device_shape(), i), in DeconstructTuple()
Dhlo_verifier.cc858 const Shape& dest_shape = ShapeUtil::GetTupleElementShape(operand_shape, 0); in HandleCopyDone()
859 const Shape& src_shape = ShapeUtil::GetTupleElementShape(operand_shape, 1); in HandleCopyDone()
869 return CheckShape(copy_done, ShapeUtil::GetTupleElementShape( in HandleCopyDone()
889 {ShapeUtil::GetTupleElementShape(recv->shape(), 0), in HandleRecv()
898 {ShapeUtil::GetTupleElementShape(recv_done->operand(0)->shape(), 0), in HandleRecvDone()
Dtuple_simplifier_test.cc157 ShapeUtil::GetTupleElementShape(element->shape(), 0), element, 0)); in TEST_F()
Dhlo_module_group_metadata.cc466 ShapeUtil::GetTupleElementShape(channel.recv_done->shape(), 0); in VerifyChannelInstructions()
Dlayout_assignment_test.cc81 const Layout& actual = ShapeUtil::GetTupleElementShape(shape, i).layout(); in ExpectTupleLayoutIs()
246 ShapeUtil::GetTupleElementShape(tuple->shape(), 1), constant1->shape())); in TEST_F()
Dbfloat16_propagation_test.cc996 EXPECT_EQ(ShapeUtil::GetTupleElementShape(domain->shape(), 0).element_type(), in TEST_F()
998 EXPECT_EQ(ShapeUtil::GetTupleElementShape(domain->shape(), 1).element_type(), in TEST_F()
Dlayout_assignment.cc413 ShapeUtil::GetTupleElementShape(send_recv_instr->shape(), 0); in BuildHostChannelConstraints()
510 ShapeUtil::GetTupleElementShape(instruction->shape(), 0); in AddMandatoryConstraints()
Dhlo_cost_analysis.cc660 ? ShapeUtil::GetTupleElementShape(fft->operand(0)->shape(), 0) in HandleFft()
Dhlo_computation.cc743 ShapeUtil::GetTupleElementShape(instruction->shape(), i), in DeepCopyHelper()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_list_utils.cc145 *buffer_shape = xla::ShapeUtil::GetTupleElementShape(list_shape, 0); in GetTensorListBufferShape()
202 auto buffer_shape = xla::ShapeUtil::GetTupleElementShape(list_shape, 0); in GetLeadingDimForTensorList()
217 xla::ShapeUtil::GetTupleElementShape(element_tensor_list_shape, i); in GetTensorListShapeFromElementTensorListShape()
257 xla::ShapeUtil::GetTupleElementShape(list_shape, i); in CreateZerosTensorListWithShape()
323 xla::ShapeUtil::GetTupleElementShape(element_shape, i); in ExecuteTensorListPushBack()
385 xla::ShapeUtil::GetTupleElementShape(list_shape, i); in ExecuteTensorListPopBack()
466 xla::ShapeUtil::GetTupleElementShape(list_shape, 0); in ExecuteTensorListGetItem()
Dstack_ops.cc48 return XLAShapeToTensorShape(xla::ShapeUtil::GetTupleElementShape(shape, 0), in GetStackShape()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_test.cc103 ShapeUtil::GetTupleElementShape(result.shape(), 0), in XLA_TEST_F()
107 ShapeUtil::GetTupleElementShape(result.shape(), 1), in XLA_TEST_F()
/external/tensorflow/tensorflow/c/eager/
Dc_api_debug.cc107 xla::Shape shape0 = xla::ShapeUtil::GetTupleElementShape(padded_shape, 0); in TensorDebugInfo()
109 xla::ShapeUtil::GetTupleElementShape(padded_shape, 1); in TensorDebugInfo()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dshape_util.cc34 xla::ShapeUtil::GetTupleElementShape(shape, i); in PopulateInfeedLayoutVector()
141 xla::ShapeUtil::GetTupleElementShape(input_shape, i); in GetShapeWithLayout()
Dxla_jit_compiled_cpu_function_test.cc225 const xla::Shape& result0 = ShapeUtil::GetTupleElementShape(result, 0); in TEST()
268 const xla::Shape& result0 = ShapeUtil::GetTupleElementShape(result, 0); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_transfer_manager.cc208 ShapeUtil::GetTupleElementShape(literal_shape, i); in TransferLiteralFromOutfeed()
Dir_emitter.cc392 ShapeUtil::GetTupleElementShape(infeed->shape(), 0))); in HandleInfeed()
402 token_slice, ShapeUtil::GetTupleElementShape(infeed->shape(), 1)); in HandleInfeed()
418 ShapeUtil::GetTupleElementShape(data_shape, i); in HandleInfeed()
552 ShapeUtil::GetTupleElementShape(operand_shape, i); in HandleOutfeed()
2522 ShapeUtil::GetTupleElementShape(custom_call->shape(), i); in HandleCustomCall()
/external/tensorflow/tensorflow/compiler/aot/tests/
Dtfcompile_test.cc654 ShapeUtil::GetTupleElementShape(muladd_result, 0); in TEST()
657 ShapeUtil::GetTupleElementShape(muladd_result, 1); in TEST()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc390 /* static */ const Shape& ShapeUtil::GetTupleElementShape(const Shape& shape, in GetTupleElementShape() function in xla::ShapeUtil
866 ShapeUtil::GetTupleElementShape(shape, i), func, index)); in ForEachSubshapeHelper()
Dshape_util.h486 static const Shape& GetTupleElementShape(const Shape& shape, int64 index);
Dliteral_test.cc1911 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 0).ToProto(); in TEST_F()
1929 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 0).ToProto(); in TEST_F()
1934 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 1).ToProto(); in TEST_F()
Dliteral_comparison.cc208 total += RecursiveElementCount(ShapeUtil::GetTupleElementShape(shape, i)); in RecursiveElementCount()

12