Home
last modified time | relevance | path

Searched refs:output_tuple (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dtopk_op.cc67 xla::XlaOp output_tuple = TopK(context->Input(0), k); in Compile() local
68 auto values = xla::GetTupleElement(output_tuple, 0); in Compile()
69 auto indices = xla::GetTupleElement(output_tuple, 1); in Compile()
Dapprox_topk_op.cc88 xla::XlaOp output_tuple = ApproxTopKFn( in Compile() local
92 ctx->SetOutput(0, xla::GetTupleElement(output_tuple, 0)); in Compile()
93 ctx->SetOutput(1, xla::GetTupleElement(output_tuple, 1)); in Compile()
Dimage_ops.cc569 xla::XlaOp output_tuple = TopK(scores_included, output_size); in ComputeResult() local
570 xla::XlaOp selected_indices_sorted = xla::GetTupleElement(output_tuple, 1); in ComputeResult()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_util.cc302 const RefPtr<XRTTupleAllocation>& output_tuple, in RebuildOutputAliases() argument
309 return output_tuple->AliasBufferFrom(*input_tuples[alias.parameter_number], in RebuildOutputAliases()
350 RefPtr<XRTTupleAllocation> output_tuple, in CreateExecuteOutput() argument
352 if (return_exploded_tuple && output_tuple->on_host_shape().IsTuple()) { in CreateExecuteOutput()
354 xla::ShapeUtil::TupleElementCount(output_tuple->on_device_shape()); in CreateExecuteOutput()
362 output_tuple.get(), {i}, &suballocation, in CreateExecuteOutput()
372 memory_manager->Register(std::move(output_tuple)); in CreateExecuteOutput()
Dxrt_util.h85 const RefPtr<XRTTupleAllocation>& output_tuple,
99 RefPtr<XRTTupleAllocation> output_tuple,
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc270 XRTTupleAllocation* output_tuple; in CreateOutputTuple() local
284 output_device_shape, backend, device_ordinal, &output_tuple, in CreateOutputTuple()
289 *shaped_buffer, backend, device_ordinal, &output_tuple, allocator)); in CreateOutputTuple()
294 return RefPtr<XRTTupleAllocation>(output_tuple); in CreateOutputTuple()
492 RefPtr<XRTTupleAllocation> output_tuple, in DoWork()
498 std::move(output_tuple), in DoWork()
Dtpu_execute_op.cc151 XRTTupleAllocation* output_tuple; in AllocateOutputTuple() local
157 node_context->backend(), device_ordinal, &output_tuple, in AllocateOutputTuple()
159 RefPtr<XRTTupleAllocation> output_tuple_ptr(output_tuple); in AllocateOutputTuple()
180 RefPtr<XRTTupleAllocation> output_tuple, in AllocateOutputTensors()
184 return CreateExecuteOutput(context, memory_manager, std::move(output_tuple), in AllocateOutputTensors()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbfloat16_propagation_test.cc300 HloInstruction* output_tuple = in TEST_F() local
308 EXPECT_EQ(computation->root_instruction(), output_tuple); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Dcustom_call.md258 subbuffers of `output_tuple` are accessible by dereferencing `out`.
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dpadding_fifo_queue_test.py1584 output_tuple = self.evaluate(output_tuple_t)
1586 for (input_elem, output_elem) in zip(input_tuple, output_tuple):
Dfifo_queue_test.py607 output_tuple = self.evaluate(output_tuple_t)
609 for (input_elem, output_elem) in zip(input_tuple, output_tuple):
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_test.cc5662 auto output_tuple = op::Tuple( in TEST_F() local
5683 output_tuple, op::GetTupleElement(op::Parameter(0)), next_i)); in TEST_F()
5766 auto output_tuple = op::Tuple( in TEST_F() local
5785 output_tuple, op::GetTupleElement(op::Parameter(0)), next_i)); in TEST_F()
5881 auto output_tuple = in TEST_F() local
5892 output_tuple, in TEST_F()
6011 auto output_tuple = op::Tuple( in TEST_F() local
6028 output_tuple, op::GetTupleElement(op::Parameter(0)), next_i)); in TEST_F()
6121 auto output_tuple = op::Tuple( in TEST_F() local
6131 output_tuple, in TEST_F()