Home
last modified time | relevance | path

Searched refs:allocate_output (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/external/tensorflow/tensorflow/core/kernels/
Dquantized_activation_ops.cc39 context->allocate_output(0, input.shape(), &output)); in Compute()
52 OP_REQUIRES_OK(context, context->allocate_output(1, {}, &output_min)); in Compute()
55 OP_REQUIRES_OK(context, context->allocate_output(2, {}, &output_max)); in Compute()
72 context->allocate_output(0, input.shape(), &output)); in Compute()
90 OP_REQUIRES_OK(context, context->allocate_output(1, {}, &output_min)); in Compute()
93 OP_REQUIRES_OK(context, context->allocate_output(2, {}, &output_max)); in Compute()
Dsparse_fill_empty_rows_op.cc84 OP_REQUIRES_OK(context, context->allocate_output(kEmptyRowIndicatorOutput, in Compute()
89 OP_REQUIRES_OK(context, context->allocate_output(kReverseIndexMapOutput, in Compute()
104 OP_REQUIRES_OK(context, context->allocate_output(kOutputIndicesOutput, in Compute()
108 OP_REQUIRES_OK(context, context->allocate_output(kOutputValuesOutput, in Compute()
147 OP_REQUIRES_OK(context, context->allocate_output(kOutputIndicesOutput, in Compute()
154 OP_REQUIRES_OK(context, context->allocate_output(kOutputValuesOutput, in Compute()
229 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
234 context->allocate_output("d_default_value", TensorShape({}), in Compute()
Dreader_ops.cc88 context->allocate_output("key", TensorShape({}), &key)); in ComputeWithReader()
91 context->allocate_output("value", TensorShape({}), &value)); in ComputeWithReader()
137 context->allocate_output( in ComputeWithReader()
142 context->allocate_output( in ComputeWithReader()
166 OP_REQUIRES_OK(context, context->allocate_output("records_produced", in ComputeWithReader()
184 OP_REQUIRES_OK(context, context->allocate_output("units_completed", in ComputeWithReader()
204 context->allocate_output("state", TensorShape({}), &output)); in ComputeWithReader()
Dquantized_pooling_ops.cc74 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
95 OP_REQUIRES_OK(context, context->allocate_output(1, {}, &output_min)); in Compute()
98 OP_REQUIRES_OK(context, context->allocate_output(2, {}, &output_max)); in Compute()
119 OP_REQUIRES_OK(context, context->allocate_output(1, {}, &output_min)); in Compute()
122 OP_REQUIRES_OK(context, context->allocate_output(2, {}, &output_max)); in Compute()
Dcandidate_sampler_ops.cc62 context->allocate_output(0, TensorShape({num_sampled_}), in Compute()
66 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
71 context->allocate_output(2, TensorShape({num_sampled_}), in Compute()
240 context->allocate_output( in Compute()
244 context, context->allocate_output( in Compute()
249 context->allocate_output( in Compute()
Dshape_ops.h49 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({rank}), &out)); in Compute()
77 OP_REQUIRES_OK(ctx, ctx->allocate_output(i, {dims}, &out)); in Compute()
105 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({}), &out)); in Compute()
122 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({}), &out)); in Compute()
174 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, {0}, &output)); in Compute()
245 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, {0}, &output)); in Compute()
Drequantize.cc47 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, input.shape(), &output)); in Compute()
49 OP_REQUIRES_OK(ctx, ctx->allocate_output(1, TensorShape({}), &output_min)); in Compute()
51 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, TensorShape({}), &output_max)); in Compute()
Dfake_quant_ops.cc209 context->allocate_output(0, input.shape(), &output)); in Compute()
251 context->allocate_output(0, input.shape(), &grad_wrt_input)); in Compute()
256 context->allocate_output(1, scalar_shape, &grad_wrt_min)); in Compute()
260 context->allocate_output(2, scalar_shape, &grad_wrt_max)); in Compute()
347 context->allocate_output(0, input.shape(), &output)); in Compute()
397 context->allocate_output(0, input.shape(), &grad_wrt_input)); in Compute()
402 context->allocate_output(1, min_max_shape, &grad_wrt_min)); in Compute()
406 context->allocate_output(2, min_max_shape, &grad_wrt_max)); in Compute()
Ddebug_ops.h82 OP_REQUIRES_OK(context, context->allocate_output(0, src_tensor.shape(), in Compute()
180 if (!context->allocate_output(0, shape, &output_tensor).ok()) { in ApplyGrpcGating()
269 OP_REQUIRES_OK(context, context->allocate_output(0, shape, &output_tensor)); in Compute()
372 OP_REQUIRES_OK(context, context->allocate_output(0, shape, &output_tensor)); in Compute()
545 context->allocate_output(0, shape, &output_tensor));
558 context->allocate_output(0, shape, &output_tensor));
583 context->allocate_output(0, shape, &output_tensor));
622 context->allocate_output(0, shape, &output_tensor));
648 context->allocate_output(0, shape, &output_tensor));
731 context->allocate_output(0, shape, &output_tensor));
[all …]
Dquantize_down_and_shrink_range.cc46 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, input.shape(), &output)); in Compute()
48 OP_REQUIRES_OK(ctx, ctx->allocate_output(1, TensorShape({}), &output_min)); in Compute()
50 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, TensorShape({}), &output_max)); in Compute()
Drpc_op.cc92 ctx, ctx->allocate_output(0, output_shape, &response_t), done); in ComputeAsync()
100 ctx, ctx->allocate_output(1, output_shape, &status_code_t), done); in ComputeAsync()
102 ctx, ctx->allocate_output(2, output_shape, &status_message_t), done); in ComputeAsync()
Dquantized_bias_add_op.cc62 context->allocate_output(0, input.shape(), &output)); in Compute()
85 OP_REQUIRES_OK(context, context->allocate_output(1, {}, &output_min)); in Compute()
89 OP_REQUIRES_OK(context, context->allocate_output(2, {}, &output_max)); in Compute()
Dstring_split_op.cc214 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({output_size, 2}), in Compute()
218 ctx, ctx->allocate_output(1, TensorShape({output_size}), &sp_tokens_t)); in Compute()
220 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, TensorShape({2}), &sp_shape_t)); in Compute()
284 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({output_size, 2}), in Compute()
288 ctx, ctx->allocate_output(1, TensorShape({output_size}), &sp_tokens_t)); in Compute()
290 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, TensorShape({2}), &sp_shape_t)); in Compute()
Dquantized_reshape_op.cc37 OP_REQUIRES_OK(ctx, ctx->allocate_output(1, TensorShape({}), &output_min)); in Compute()
41 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, TensorShape({}), &output_max)); in Compute()
Dquantize_op.cc121 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, input.shape(), &output)); in Compute()
127 OP_REQUIRES_OK(ctx, ctx->allocate_output(1, {}, &output_min_tensor)); in Compute()
128 OP_REQUIRES_OK(ctx, ctx->allocate_output(2, {}, &output_max_tensor)); in Compute()
140 ctx->allocate_output(1, minmax_shape, &output_min_tensor)); in Compute()
142 ctx->allocate_output(2, minmax_shape, &output_max_tensor)); in Compute()
Dbase64_ops.cc36 OP_REQUIRES_OK(context, context->allocate_output(0, input_tensor.shape(), in Compute()
61 OP_REQUIRES_OK(context, context->allocate_output(0, input_tensor.shape(), in Compute()
Drequantization_range_op.cc52 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape({}), &output_min)); in Compute()
54 OP_REQUIRES_OK(ctx, ctx->allocate_output(1, TensorShape({}), &output_max)); in Compute()
Dlist_kernels.cc122 c->allocate_output(output_index, {}, &output_tensor, attr)); in ForwardInputOrCreateNewList()
145 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, TensorShape{}, &result, attr)); in Compute()
238 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape{}, &result)); in Compute()
263 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape({}), &result)); in Compute()
270 OP_REQUIRES_OK(c, c->allocate_output( in Compute()
312 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape{}, &result, attr)); in Compute()
362 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape{}, &result, attr)); in Compute()
493 OP_REQUIRES_OK(c, c->allocate_output(0, tl_a_shape, &output, attr)); in Compute()
Dsummary_op.cc60 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape({}), &summary_tensor)); in Compute()
109 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape({}), &summary_tensor)); in Compute()
166 OP_REQUIRES_OK(c, c->allocate_output(0, TensorShape({}), &summary_tensor)); in Compute()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dresource_ops.cc104 OP_REQUIRES_OK(context, context->allocate_output(0, TensorShape(), in Compute()
106 OP_REQUIRES_OK(context, context->allocate_output(1, TensorShape(), in Compute()
109 context->allocate_output(2, TensorShape(), in Compute()
112 context->allocate_output(3, TensorShape(), in Compute()
114 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
149 OP_REQUIRES_OK(context, context->allocate_output(0, TensorShape(), in Compute()
154 context->allocate_output(1, TensorShape(), &output_proto_t)); in Compute()
Dstats_ops.cc352 OP_REQUIRES_OK(context, context->allocate_output("node_ids", {num_nodes}, in Compute()
358 OP_REQUIRES_OK(context, context->allocate_output("gains", {num_nodes}, in Compute()
365 context->allocate_output("feature_dimensions", {num_nodes}, in Compute()
372 OP_REQUIRES_OK(context, context->allocate_output("thresholds", {num_nodes}, in Compute()
378 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
386 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
395 context, context->allocate_output("split_with_default_directions", in Compute()
729 OP_REQUIRES_OK(context, context->allocate_output("node_ids", {num_nodes}, in Compute()
735 OP_REQUIRES_OK(context, context->allocate_output("gains", {num_nodes}, in Compute()
741 OP_REQUIRES_OK(context, context->allocate_output("feature_ids", {num_nodes}, in Compute()
[all …]
Dprediction_ops.cc95 context->allocate_output("partial_logits", in Compute()
101 OP_REQUIRES_OK(context, context->allocate_output("tree_ids", {batch_size}, in Compute()
106 OP_REQUIRES_OK(context, context->allocate_output("node_ids", {batch_size}, in Compute()
227 OP_REQUIRES_OK(context, context->allocate_output( in Compute()
332 context, context->allocate_output("examples_debug_outputs_serialized", in Compute()
/external/tensorflow/tensorflow/core/kernels/data/
Drandom_seed_ops.cc68 OP_REQUIRES_OK(ctx, ctx->allocate_output(kNumRandomSamples, TensorShape({}), in Serialize()
72 OP_REQUIRES_OK(ctx, ctx->allocate_output(kSeed, TensorShape({}), &seed)); in Serialize()
75 OP_REQUIRES_OK(ctx, ctx->allocate_output(kSeed2, TensorShape({}), &seed2)); in Serialize()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsparse_matrix_components_op.cc78 c, c->allocate_output(0, TensorShape({rows + 1}), &row_ptrs_t)); in Compute()
79 OP_REQUIRES_OK(c, c->allocate_output(1, TensorShape({nnz}), &col_inds_t)); in Compute()
80 OP_REQUIRES_OK(c, c->allocate_output(2, TensorShape({nnz}), &values_t)); in Compute()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgpu_swapping_kernels.cc42 ctx, ctx->allocate_output(0, input.shape(), &output, alloc_attrs), in ComputeAsync()
71 OP_REQUIRES_OK_ASYNC(ctx, ctx->allocate_output(0, input.shape(), &output), in ComputeAsync()

12345678910>>...13