Home
last modified time | relevance | path

Searched refs:mutable_output (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dgpu_utils.cc69 output.shape().AsProto(instr.mutable_output()->mutable_tensor_shape()); in LogConvAutotuneResults()
70 instr.mutable_output()->set_dtype(output.dtype()); in LogConvAutotuneResults()
92 output.shape().AsProto(instr.mutable_output()->mutable_tensor_shape()); in LogFusedConvAutotuneResults()
93 instr.mutable_output()->set_dtype(output.dtype()); in LogFusedConvAutotuneResults()
Dmkl_cwise_ops_common.cc48 auto out = context->mutable_output(0); in Compute()
54 out = context->mutable_output(0); in Compute()
Dcollective_ops.cc99 if (c->mutable_output(0) == nullptr) { in ComputeAsync()
197 if (c->mutable_output(0) == nullptr) { in ComputeAsync()
262 if (c->mutable_output(0) == nullptr) { in ComputeAsync()
331 if (c->mutable_output(0) == nullptr) { in ComputeAsync()
Dmkl_input_conversion_op.cc276 << context->mutable_output(kInputIndex_0)->shape().DebugString() in Compute()
278 << context->mutable_output(kInputIndex_1)->shape().DebugString(); in Compute()
Dops_testutil.cc46 Tensor* output = context_->mutable_output(output_index); in GetOutput()
Drandom_shuffle_op.cc86 auto vec = context->mutable_output(0)->vec<T>(); in Compute()
Dsave_restore_tensor.cc397 if (dtypes[i] != context->mutable_output(i)->dtype()) { in RestoreTensorsV2()
401 DataTypeString(context->mutable_output(i)->dtype())); in RestoreTensorsV2()
Dcollective_nccl_reducer_test.cc285 CHECK_EQ(output_tensor_ptr, ctx.mutable_output(0)); in DoReduce()
299 CHECK(tensor_.CopyFrom(*ctx.mutable_output(0), tensor_.shape())); in DoReduce()
Dparse_tensor_test.cc64 *parse_output = *ctx.mutable_output(0); in ParseSerializedWithNodeDef()
Dnn_ops_test.cc782 testing::ItemsProcessed(context->mutable_output(0)->NumElements() * iters * in BM_LRNFloat()
863 testing::ItemsProcessed(avgpool_context->mutable_output(0)->NumElements() * in BM_AvgPool()
968 testing::ItemsProcessed(avgpool_context->mutable_output(0)->NumElements() * in BM_AvgPoolBk()
1058 testing::ItemsProcessed(maxpool_context->mutable_output(0)->NumElements() * in BM_MaxPool()
1233 testing::ItemsProcessed(relu_context->mutable_output(0)->NumElements() * in BM_ReluFloat()
/external/tensorflow/tensorflow/c/kernels/
Dbitcast_op_test.cc72 ASSERT_EQ(expected_shape, ctx.mutable_output(0)->shape()) in TestBitcastOp()
73 << ctx.mutable_output(0)->shape().DebugString(); in TestBitcastOp()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dget_serialized_resource_op_test.cc72 Tensor* output = context_->mutable_output(0); in TEST_F()
/external/tensorflow/tensorflow/contrib/session_bundle/
Dbundle_shim_test.cc174 regression_signature->mutable_output()->set_tensor_name("foo-output"); in TEST()
254 foo_regression_signature->mutable_output()->set_tensor_name("foo-output"); in TEST()
260 bar_regression_signature->mutable_output()->set_tensor_name("bar-output"); in TEST()
/external/tensorflow/tensorflow/core/common_runtime/
Dring_gatherer_test.cc478 CHECK_EQ(output_tensor_ptr, ctx.mutable_output(0)); in DoGather()
491 CHECK(output_tensor_.CopyFrom(*ctx.mutable_output(0), in DoGather()
492 ctx.mutable_output(0)->shape())); in DoGather()
Dbase_collective_executor.cc239 Tensor* output = ctx->mutable_output(0); in ExecuteAsync()
Dring_reducer_test.cc507 CHECK_EQ(output_tensor_ptr, ctx.mutable_output(0)); in DoReduce()
521 CHECK(tensor_.CopyFrom(*ctx.mutable_output(0), tensor_.shape())); in DoReduce()
Dhierarchical_tree_broadcaster_test.cc676 CHECK_EQ(output_tensor_ptr, ctx.mutable_output(0)); in DoBroadcast()
692 CHECK(tensor_.CopyFrom(*ctx.mutable_output(0), tensor_.shape())); in DoBroadcast()
/external/tensorflow/tensorflow/c/
Dkernels_test.cc222 ASSERT_EQ(123, ctx.mutable_output(0)->scalar<tensorflow::uint8>()()); in TEST()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h1010 Status mutable_output(StringPiece name, Tensor** tensor);
1179 Tensor* mutable_output(int index);
1569 inline Tensor* OpKernelContext::mutable_output(int index) { in mutable_output() function
1655 return ctx_->mutable_output(start_ + i);
Dop_kernel.cc732 DCHECK(mutable_output(index) == nullptr); in allocate_output()
800 DCHECK_EQ(mutable_output(index), nullptr); in set_output()
844 Status OpKernelContext::mutable_output(StringPiece name, Tensor** tensor) { in mutable_output() function in tensorflow::OpKernelContext
853 *tensor = mutable_output(start); in mutable_output()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.cc339 output_tensor = ctx->mutable_output(i); in PopulateOutputs()
380 VLOG(3) << ctx->mutable_output(i)->DeviceSafeDebugString(); in PopulateOutputs()
/external/tensorflow/tensorflow/compiler/xla/service/
Dservice.cc735 *response.mutable_output() = output; in ExecuteGraphParallel()
903 *result->mutable_output(), in Execute()
931 *result->mutable_output() = execution->result(); in WaitForExecution()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_test_base.cc122 Tensor* output = context->mutable_output(output_index); in GetDatasetFromContext()
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv2d_bias_activation_op.cc324 output.shape().AsProto(instr.mutable_output()->mutable_tensor_shape()); in LogFusedConvAutotuneResults()
325 instr.mutable_output()->set_dtype(output.dtype()); in LogFusedConvAutotuneResults()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc296 outputs->push_back(Tensor(*context.mutable_output(i))); in Run()

12