Home
last modified time | relevance | path

Searched refs:output_t (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dedit_distance_op.cc159 auto output_t = output->flat<float>(); in Compute() local
160 output_t.setZero(); in Compute()
188 output_t(loc) = in Compute()
190 if (normalize_) output_t(loc) /= truth_seq.size(); in Compute()
197 output_t(loc) = hypothesis_seq.size(); in Compute()
198 if (normalize_ && output_t(loc) != 0.0f) { in Compute()
199 output_t(loc) = std::numeric_limits<float>::infinity(); in Compute()
205 output_t(loc) = (normalize_) ? 1.0 : truth_seq.size(); in Compute()
215 output_t(loc) = hypothesis_seq.size(); in Compute()
216 if (normalize_ && output_t(loc) != 0.0f) { in Compute()
[all …]
Dsearchsorted_op.cc99 Tensor* output_t; in Compute() local
100 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, values_t.shape(), &output_t)); in Compute()
102 if (output_t->dtype() == DT_INT32) { in Compute()
111 auto output = output_t->template flat<OutType>(); in Compute()
140 Tensor* output_t; in Compute() local
141 OP_REQUIRES_OK(ctx, ctx->allocate_output(0, values_t.shape(), &output_t)); in Compute()
143 if (output_t->dtype() == DT_INT32) { in Compute()
152 auto output = output_t->template flat<OutType>(); in Compute()
Dmatching_files_op.cc52 Tensor* output_t = nullptr; in Compute() local
55 &output_t)); in Compute()
56 auto output = output_t->vec<tstring>(); in Compute()
Dpopulation_count_op.cc47 Tensor* output_t; in Compute() local
48 OP_REQUIRES_OK(c, c->allocate_output(0, input_t.shape(), &output_t)); in Compute()
51 auto output = output_t->flat<uint8>(); in Compute()
Dcompare_and_bitpack_op.cc63 Tensor* output_t; in Compute() local
64 OP_REQUIRES_OK(c, c->allocate_output(0, output_shape, &output_t)); in Compute()
68 auto output = output_t->flat_inner_dims<uint8>(); in Compute()
Dshape_ops.h178 Tensor output_t; in Compute() local
179 if (!output_t.CopyFrom(input_t, output_shape)) { in Compute()
187 ctx->set_output(0, std::move(output_t)); in Compute()
Done_hot_op.cc114 auto output_t = in Compute() local
119 off_value_t, &output_t); in Compute()
Dslice_op.cc174 auto output_t = result->tensor<T, 2>(); in Compute() local
186 port::prefetch<port::PREFETCH_HINT_T0>(&output_t(i + 1, 0)); in Compute()
190 memcpy(&output_t(i, 0), &input_t(row, col_begin), in Compute()
Dbincount_op.cc189 Tensor* output_t; in Compute() local
191 ctx->allocate_output(0, TensorShape({size}), &output_t)); in Compute()
192 auto output = output_t->flat<T>(); in Compute()
Dxsmm_conv2d_test.cc136 LIBXSMM_VLA_DECL(4, float, output_t, output + (pad_w_out * ofwp + pad_h_out), in naive_conv_fp()
153 LIBXSMM_VLA_ACCESS(4, output_t, img, ofm, oj, oi, nOfm, ofhp, in naive_conv_fp()
Dlist_kernels.cc496 auto output_t = output->flat<Variant>(); in Compute() local
528 TensorList* out = output_t(i).get<TensorList>(); in Compute()
535 output_t(i) = std::move(out); in Compute()
Dcudnn_rnn_ops.cc1135 Tensor* output_t = nullptr; in Compute() local
1136 OP_REQUIRES_OK(context, context->allocate_output(0, {1}, &output_t)); in Compute()
1137 *output_t->template flat<Index>().data() = params_size; in Compute()
/external/tensorflow/tensorflow/compiler/tests/
Dcond_test.py56 output_t = f()
57 self.assertAllEqual([5.], self.evaluate(output_t))
76 output_t = f()
77 self.assertAllEqual([10.], self.evaluate(output_t))
96 output_t, = xla.compile(f)
97 self.assertAllEqual([5.], self.evaluate(output_t))
239 output_t = f()
240 self.assertAllEqual([10.], self.evaluate(output_t))
261 output_t, = xla.compile(f)
262 self.assertAllEqual([10.], self.evaluate(output_t))
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dquantile_ops.cc185 Tensor* output_t; in Compute() local
191 &output_t)); in Compute()
192 auto output = output_t->matrix<float>(); in Compute()
246 Tensor* output_t; in Compute() local
250 &output_t)); in Compute()
251 auto output = output_t->matrix<float>(); in Compute()
535 Tensor* output_t = nullptr; in Compute() local
538 feature_idx, TensorShape({num_values}), &output_t)); in Compute()
539 auto output = output_t->flat<int32>(); in Compute()
/external/tensorflow/tensorflow/core/kernels/tensor_forest/
Dresource_ops.cc107 Tensor* output_t = nullptr; in Compute() local
109 context->allocate_output(0, TensorShape(), &output_t)); in Compute()
110 output_t->scalar<int32>()() = decision_tree_resource->get_size(); in Compute()
/external/harfbuzz_ng/util/
Dshape-consumer.hh34 template <typename output_t>
94 output_t output;
/external/tensorflow/tensorflow/core/kernels/sparse/
Dsoftmax_op.cc81 Tensor output_t(cpu_allocator(), DT_VARIANT, TensorShape({})); in Compute() local
82 output_t.scalar<Variant>()() = std::move(output_matrix); in Compute()
83 ctx->set_output(0, output_t); in Compute()
Dtranspose_op.cc115 Tensor output_t(cpu_allocator(), DT_VARIANT, TensorShape({})); in Compute() local
116 output_t.scalar<Variant>()() = std::move(output_matrix); in Compute()
117 ctx->set_output(0, output_t); in Compute()
/external/tensorflow/tensorflow/core/kernels/image/
Dimage_ops.cc98 Tensor* output_t; in DoImageProjectiveTransformOp() local
103 &output_t)); in DoImageProjectiveTransformOp()
104 auto output = output_t->tensor<T, 4>(); in DoImageProjectiveTransformOp()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCreationCacheControlTests.cpp383 typename output_t = vector<move_t>>
384 output_t wrapHandles(const DeviceInterface& vk, in wrapHandles()
393 auto output = output_t{}; in wrapHandles()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_utils.cc695 auto output_t = output->flat_outer_dims<type>(); \ in CopyPartialBatch()
698 output_t.template chip<0>(i) = value_t.template chip<0>(i); \ in CopyPartialBatch()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcond_v2_test.py1205 output_t = output.stack()
1207 self.evaluate(output_t), [-5, -4, -3, -2, -1, 0, 1, 4, 9, 16])
1234 output_t = f()
1235 self.assertAllEqual(output_t, [-5, -4, -3, -2, -1, 0, 1, 4, 9, 16])