Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander_test.cc97 ShapeUtil::GetTupleElementShape(while_shape, 1))); in TEST()
101 ShapeUtil::GetTupleElementShape(while_shape, 2))); in TEST()
105 ShapeUtil::GetTupleElementShape(while_shape, 3))); in TEST()
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.cc162 ShapeUtil::GetTupleElementShape(shaped_buffer->on_host_shape(), i), in DeconstructTuple()
163 ShapeUtil::GetTupleElementShape(shaped_buffer->on_device_shape(), i), in DeconstructTuple()
Dtuple_simplifier_test.cc157 ShapeUtil::GetTupleElementShape(element->shape(), 0), element, 0)); in TEST_F()
Dhlo_module_group_metadata.cc448 ShapeUtil::GetTupleElementShape(channel.recv_done->shape(), 0); in VerifyChannelInstructions()
Dhlo_verifier.cc709 {ShapeUtil::GetTupleElementShape(recv->shape(), 0), in HandleRecv()
717 {ShapeUtil::GetTupleElementShape(recv_done->operand(0)->shape(), 0), in HandleRecvDone()
Dbfloat16_propagation_test.cc966 EXPECT_EQ(ShapeUtil::GetTupleElementShape(domain->shape(), 0).element_type(), in TEST_F()
968 EXPECT_EQ(ShapeUtil::GetTupleElementShape(domain->shape(), 1).element_type(), in TEST_F()
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()
Dhlo_cost_analysis.cc538 ? ShapeUtil::GetTupleElementShape(fft->operand(0)->shape(), 0) in HandleFft()
/external/tensorflow/tensorflow/c/eager/
Dc_api_debug.cc99 xla::Shape shape0 = xla::ShapeUtil::GetTupleElementShape(padded_shape, 0); in TFE_TensorHandleTensorDebugInfo()
101 xla::ShapeUtil::GetTupleElementShape(padded_shape, 1); in TFE_TensorHandleTensorDebugInfo()
/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/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.cc128 const xla::Shape& result0 = ShapeUtil::GetTupleElementShape(result, 0); in TEST()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtensor_list_utils.cc63 xla::ShapeUtil::GetTupleElementShape(list_shape, 0), buffer_shape)); in GetTensorListBufferShape()
Dstack_ops.cc48 return XLAShapeToTensorShape(xla::ShapeUtil::GetTupleElementShape(shape, 0), in GetStackShape()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_transfer_manager.cc208 ShapeUtil::GetTupleElementShape(literal_shape, i); in TransferLiteralFromOutfeed()
Dir_emitter.cc333 ShapeUtil::GetTupleElementShape(infeed->shape(), 0))); in HandleInfeed()
343 token_slice, ShapeUtil::GetTupleElementShape(infeed->shape(), 1)); in HandleInfeed()
359 ShapeUtil::GetTupleElementShape(data_shape, i); in HandleInfeed()
493 ShapeUtil::GetTupleElementShape(operand_shape, i); in HandleOutfeed()
2279 ShapeUtil::GetTupleElementShape(custom_call->shape(), i); in HandleCustomCall()
/external/tensorflow/tensorflow/compiler/aot/tests/
Dtfcompile_test.cc586 ShapeUtil::GetTupleElementShape(muladd_result, 0); in TEST()
589 ShapeUtil::GetTupleElementShape(muladd_result, 1); in TEST()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxrt.cc289 ShapeUtil::GetTupleElementShape(tuple_shape, i); in DestructureXrtAllocationTuple()
Dnumpy_bridge.cc141 PyShapeInfoFromXlaShape(ShapeUtil::GetTupleElementShape(shape, i)) in PyShapeInfoFromXlaShape()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc343 /* 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.h473 static const Shape& GetTupleElementShape(const Shape& shape, int64 index);
Dliteral_test.cc1924 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 0).ToProto(); in TEST_F()
1942 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 0).ToProto(); in TEST_F()
1947 ShapeUtil::GetTupleElementShape(Shape(proto.shape()), 1).ToProto(); in TEST_F()
Dliteral_comparison.cc193 total += RecursiveElementCount(ShapeUtil::GetTupleElementShape(shape, i)); in RecursiveElementCount()

12