Home
last modified time | relevance | path

Searched refs:output_data (Results 1 – 25 of 194) sorted by relevance

12345678

/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp88 uint8_t output_data[10]; in TEST() local
89 uint32_t output_size = FX_ArraySize(output_data); in TEST()
93 decompressor->Decode(nullptr, image_size, output_data, &output_size)); in TEST()
95 decompressor->Decode(image_data, 0, output_data, &output_size)); in TEST()
100 decompressor->Decode(image_data, image_size, output_data, nullptr)); in TEST()
105 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
118 uint8_t output_data[FX_ArraySize(expected_data)]; in TEST() local
119 memset(output_data, 0, sizeof(output_data)); in TEST()
120 uint32_t output_size = FX_ArraySize(output_data); in TEST()
124 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dlegacy_reference_ops.h46 float output_activation_max, float* output_data, in DepthwiseConv() argument
63 bias_data, DimsToShape(output_dims), output_data); in DepthwiseConv()
72 float output_activation_max, float* output_data, in DepthwiseConv() argument
77 output_activation_max, output_data, output_dims); in DepthwiseConv()
86 int pad_height, int depth_multiplier, float* output_data, in DepthwiseConv() argument
93 output_data, output_dims); in DepthwiseConv()
102 float* output_data, const Dims<4>& output_dims) { in DepthwiseConv() argument
105 depth_multiplier, output_data, output_dims); in DepthwiseConv()
117 int32 output_activation_max, uint8* output_data, in DepthwiseConv() argument
140 bias_data, DimsToShape(output_dims), output_data); in DepthwiseConv()
[all …]
Dreference_ops.h137 float* output_data, const RuntimeShape& im2col_shape, in Conv() argument
196 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv()
210 uint8* output_data, const RuntimeShape& im2col_shape, in Conv() argument
281 output_data[Offset(output_shape, batch, out_y, out_x, out_channel)] = in Conv()
294 T* output_data) { in DepthToSpace() argument
335 output_data[output_index] = input_data[input_index]; in DepthToSpace()
347 T* output_data) { in SpaceToDepth() argument
387 output_data[output_index] = input_data[input_index]; in SpaceToDepth()
395 const RuntimeShape& output_shape, float* output_data) { in Elu() argument
399 output_data[i] = val < 0.0 ? std::exp(val) - 1 : val; in Elu()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h145 float output_activation_max, float* output_data, in DepthwiseConv() argument
162 bias_data, DimsToShape(output_dims), output_data); in DepthwiseConv()
171 float output_activation_max, float* output_data, in DepthwiseConv() argument
176 output_activation_max, output_data, output_dims); in DepthwiseConv()
185 int pad_height, int depth_multiplier, float* output_data, in DepthwiseConv() argument
192 output_data, output_dims); in DepthwiseConv()
201 float* output_data, const Dims<4>& output_dims) { in DepthwiseConv() argument
204 depth_multiplier, output_data, output_dims); in DepthwiseConv()
216 int32 output_activation_max, uint8* output_data, in DepthwiseConv() argument
239 bias_data, DimsToShape(output_dims), output_data); in DepthwiseConv()
[all …]
Doptimized_ops.h300 int16* output_data) { in GEMVForLstmCell() argument
319 int16* output_ptr = output_data; in GEMVForLstmCell()
487 int16* output_data) { in GEMVForLstmCellWithSymmetricRange() argument
506 int16* output_ptr = output_data; in GEMVForLstmCellWithSymmetricRange()
778 float* output_data) { in FullyConnected() argument
798 MapAsMatrixWithLastDimAsRows(output_data, output_shape); in FullyConnected()
805 optional_bias_data, output_shape, output_data); in FullyConnected()
809 output_data[i] = ActivationFunctionWithMinMax( in FullyConnected()
810 output_data[i], output_activation_min, output_activation_max); in FullyConnected()
823 uint8* output_data, int row_start, int row_end) { in FullyConnectedAsGEMVWorkerImpl() argument
[all …]
/external/bsdiff/
Dbrotli_decompressor_unittest.cc36 std::vector<uint8_t> output_data(6); in TEST_F() local
37 EXPECT_TRUE(decompressor_->Read(output_data.data(), output_data.size())); in TEST_F()
39 EXPECT_EQ(std::vector<uint8_t>(hello.begin(), hello.end()), output_data); in TEST_F()
46 uint8_t output_data[10]; in TEST_F() local
47 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
55 uint8_t output_data[6]; in TEST_F() local
56 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
62 uint8_t output_data[1000]; in TEST_F() local
63 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
Dbz2_decompressor_unittest.cc39 uint8_t output_data[10]; in TEST_F() local
40 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
47 uint8_t output_data[6]; in TEST_F() local
48 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
54 uint8_t output_data[1000]; in TEST_F() local
55 EXPECT_FALSE(decompressor_->Read(output_data, sizeof(output_data))); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dresize_nearest_neighbor_test.cc37 std::vector<T> output_data(expected_output_data.size()); in TestReferenceResizeNearestNeighbor() local
40 output_size_data.data(), output_shape, output_data.data()); in TestReferenceResizeNearestNeighbor()
41 ASSERT_EQ(expected_output_data, output_data); in TestReferenceResizeNearestNeighbor()
52 std::vector<float> output_data = {1}; in TEST() local
55 output_shape, output_data); in TEST()
63 std::vector<uint8> output_data = {1, 1, 2, 1, 1, 2, 3, 3, 4}; in TEST() local
66 output_shape, output_data); in TEST()
74 std::vector<float> output_data = {1, 2, 4, 5}; in TEST() local
77 output_shape, output_data); in TEST()
85 std::vector<uint8> output_data = {1, 1, 1, 2, 2, 3, 3, 3, 4, 4}; in TEST() local
[all …]
/external/libxcam/cl_kernel/
Dkernel_geo_map.cl29 float *output_data = (float*)(out_y);
42output_data[i] = out_of_bound[i] ? CONST_DATA_Y : read_imagef (input, sampler, input_pos[i]).x;
77 float8 output_data;
88 …ped_y (input_y, geo_table, out_map_pos, table_scale_step.x, out_of_bound, input_pos, &output_data);
92 …get_lsc_data (lsc_table, (int2)(g_x, g_y), table_scale_step.x, gray_threshold, output_data, &lsc_d…
93 output_data = clamp (output_data * lsc_data, 0.0f, 1.0f);
95 …write_imageui (output_y, (int2)(g_x, g_y), convert_uint4(as_ushort4(convert_uchar8(output_data * 2…
97output_data.s01 = out_of_bound[0] ? CONST_DATA_UV : read_imagef (input_uv, sampler, input_pos[0]).…
98output_data.s23 = out_of_bound[2] ? CONST_DATA_UV : read_imagef (input_uv, sampler, input_pos[2]).…
99output_data.s45 = out_of_bound[4] ? CONST_DATA_UV : read_imagef (input_uv, sampler, input_pos[4]).…
[all …]
/external/elfutils/libcpu/
Di386_disasm.c256 struct output_data struct
330 struct output_data output_data = in i386_disasm() local
470 output_data.bufp = buf; in i386_disasm()
471 output_data.bufsize = bufsize; in i386_disasm()
623 output_data.addr = addr + (data - begin); in i386_disasm()
624 output_data.data = data; in i386_disasm()
942 output_data.opoff1 = (instrtab[cnt].off1_1 in i386_disasm()
944 output_data.opoff2 = (instrtab[cnt].off1_2 in i386_disasm()
946 output_data.opoff3 = (instrtab[cnt].off1_3 in i386_disasm()
948 int r = op1_fct[instrtab[cnt].fct1] (&output_data); in i386_disasm()
[all …]
Di386_data.h84 typedef int (*opfct_t) (struct output_data *);
88 data_prefix (struct output_data *d) in data_prefix()
157 general_mod$r_m (struct output_data *d) in general_mod$r_m()
388 FCT_MOD$R_M (struct output_data *d) in FCT_MOD$R_M()
418 FCT_Mod$R_m (struct output_data *d) in FCT_Mod$R_m()
443 generic_abs (struct output_data *d, const char *absstring in generic_abs()
483 FCT_absval (struct output_data *d) in FCT_absval()
493 FCT_abs (struct output_data *d) in FCT_abs()
503 FCT_ax (struct output_data *d) in FCT_ax()
529 FCT_ax$w (struct output_data *d) in FCT_ax$w()
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions_test.cc88 void* output_data = nullptr; in TEST_F() local
90 &mock_allocator_, &output_data)); in TEST_F()
99 void* output_data = nullptr; in TEST_F() local
101 &mock_allocator_, &output_data)); in TEST_F()
113 void* output_data = nullptr; in TEST_F() local
116 &mock_allocator_, &output_data)); in TEST_F()
117 EXPECT_NE(nullptr, output_data); in TEST_F()
118 TfLiteConvParams* params = reinterpret_cast<TfLiteConvParams*>(output_data); in TEST_F()
130 void* output_data = nullptr; in TEST_F() local
133 &mock_allocator_, &output_data)); in TEST_F()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.h82 DeviceMemory<Eigen::half>* output_data,
100 DeviceMemory<float>* output_data,
118 DeviceMemory<double>* output_data,
136 const DeviceMemory<Eigen::half>& output_data,
161 const DeviceMemory<float>& output_data,
186 const DeviceMemory<double>& output_data,
268 DeviceMemoryBase output_data,
283 DeviceMemory<double>* output_data, ScratchAllocator* scratch_allocator,
297 DeviceMemory<float>* output_data, ScratchAllocator* scratch_allocator,
314 DeviceMemory<Eigen::half>* output_data,
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dreinterpret_string_to_float_op.cc38 void Evaluate(const Tensor& input_data, Tensor output_data, int32 start, in Evaluate() argument
40 auto out_data = output_data.unaligned_flat<float>(); in Evaluate()
59 Tensor* output_data = nullptr; in Compute() local
61 context, context->allocate_output(0, input_data.shape(), &output_data)); in Compute()
68 Evaluate(input_data, *output_data, 0, num_data); in Compute()
70 auto work = [&input_data, output_data, num_data](int64 start, int64 end) { in Compute()
73 Evaluate(input_data, *output_data, static_cast<int32>(start), in Compute()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Doptimized_ops.h422 int16* output_data) { in GEMVForLstmCell() argument
441 int16* output_ptr = output_data; in GEMVForLstmCell()
609 int16* output_data) { in GEMVForLstmCellWithSymmetricRange() argument
628 int16* output_ptr = output_data; in GEMVForLstmCellWithSymmetricRange()
900 float* output_data) { in FullyConnected() argument
920 MapAsMatrixWithLastDimAsRows(output_data, output_shape); in FullyConnected()
925 output_data); in FullyConnected()
935 float output_activation_max, float* output_data, in FullyConnected() argument
944 output_data); in FullyConnected()
952 float* output_data, const Dims<4>& output_dims) { in FullyConnected() argument
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcolorspace_op.h32 typename TTypes<T, 2>::Tensor output_data) { in operator()
33 auto H = output_data.template chip<1>(0); in operator()
34 auto S = output_data.template chip<1>(1); in operator()
35 auto V = output_data.template chip<1>(2); in operator()
69 typename TTypes<T, 2>::Tensor output_data) { in operator()
81 auto R = output_data.template chip<1>(0); in operator()
82 auto G = output_data.template chip<1>(1); in operator()
83 auto B = output_data.template chip<1>(2); in operator()
/external/libjpeg-turbo/
Djdsample.c161 JSAMPARRAY output_data = *output_data_ptr; in int_upsample() local
176 outptr = output_data[outrow]; in int_upsample()
186 jcopy_sample_rows(output_data, outrow, output_data, outrow + 1, in int_upsample()
204 JSAMPARRAY output_data = *output_data_ptr; in h2v1_upsample() local
212 outptr = output_data[inrow]; in h2v1_upsample()
232 JSAMPARRAY output_data = *output_data_ptr; in h2v2_upsample() local
241 outptr = output_data[outrow]; in h2v2_upsample()
248 jcopy_sample_rows(output_data, outrow, output_data, outrow + 1, 1, in h2v2_upsample()
275 JSAMPARRAY output_data = *output_data_ptr; in h2v1_fancy_upsample() local
283 outptr = output_data[inrow]; in h2v1_fancy_upsample()
[all …]
/external/tensorflow/tensorflow/contrib/ffmpeg/
Ddecode_video_op.cc61 std::vector<uint8> output_data; in Compute() local
62 const Status result = ffmpeg::ReadVideoFile(temp_filename, &output_data, in Compute()
79 OP_REQUIRES(context, !output_data.empty(), in Compute()
82 context, output_data.size() == (frames * height * width * 3), in Compute()
83 errors::Unknown("Output created by FFmpeg [", output_data.size(), in Compute()
91 std::copy_n(output_data.begin(), output_data.size(), &output_flat(0)); in Compute()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h73 DeviceMemory<Eigen::half>* output_data,
91 DeviceMemory<float>* output_data,
109 DeviceMemory<double>* output_data,
127 const DeviceMemory<Eigen::half>& output_data,
152 const DeviceMemory<float>& output_data,
177 const DeviceMemory<double>& output_data,
259 DeviceMemoryBase output_data,
274 DeviceMemory<double>* output_data, ScratchAllocator* scratch_allocator,
288 DeviceMemory<float>* output_data, ScratchAllocator* scratch_allocator,
305 DeviceMemory<Eigen::half>* output_data,
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dsoftmax_test.cc31 float* output_data) { in TestSoftmaxFloat() argument
41 CreateFloatTensor(output_data, output_dims, "output_tensor"), in TestSoftmaxFloat()
84 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data.begin()[i], output_data[i], in TestSoftmaxFloat()
95 uint8_t* output_data) { in TestSoftmaxQuantized() argument
106 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestSoftmaxQuantized()
152 TF_LITE_MICRO_EXPECT_EQ(expected_output_data.begin()[i], output_data[i]); in TestSoftmaxQuantized()
164 float output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
185 output_data); in TF_LITE_MICRO_TEST()
196 uint8_t output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
217 output_data); in TF_LITE_MICRO_TEST()
Ddepthwise_conv_test.cc36 float* output_data) { in TestDepthwiseConvFloat() argument
50 CreateFloatTensor(output_data, output_dims, "output_tensor"), in TestDepthwiseConvFloat()
55 output_data[i] = 23; in TestDepthwiseConvFloat()
103 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data.begin()[i], output_data[i], in TestDepthwiseConvFloat()
117 float output_max, TfLiteFusedActivation activation, uint8_t* output_data) { in TestDepthwiseConvQuantized() argument
134 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestDepthwiseConvQuantized()
185 TF_LITE_MICRO_EXPECT_EQ(expected_output_data.begin()[i], output_data[i]); in TestDepthwiseConvQuantized()
197 float output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
221 kTfLiteActNone, output_data); in TF_LITE_MICRO_TEST()
237 uint8_t output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
[all …]
Dfully_connected_test.cc36 float* output_data) { in TestFullyConnectedFloat() argument
50 CreateFloatTensor(output_data, output_dims, "output_tensor"), in TestFullyConnectedFloat()
96 TF_LITE_MICRO_EXPECT_NEAR(expected_output_data.begin()[i], output_data[i], in TestFullyConnectedFloat()
110 float output_max, TfLiteFusedActivation activation, uint8_t* output_data) { in TestFullyConnectedQuantized() argument
127 CreateQuantizedTensor(output_data, output_dims, "output_tensor", in TestFullyConnectedQuantized()
176 TF_LITE_MICRO_EXPECT_EQ(expected_output_data.begin()[i], output_data[i]); in TestFullyConnectedQuantized()
188 float output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
209 kTfLiteActNone, output_data); in TF_LITE_MICRO_TEST()
214 float output_data[output_dims_count]; in TF_LITE_MICRO_TEST() local
233 kTfLiteActNone, output_data); in TF_LITE_MICRO_TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dfft_thunk.cc162 se::DeviceMemory<complex64> output_data( in ExecuteOnStream() local
165 stream->ThenFft(fft_plan_.get(), input_data, &output_data).ok(); in ExecuteOnStream()
171 se::DeviceMemory<complex64> output_data( in ExecuteOnStream() local
174 stream->ThenFft(fft_plan_.get(), input_data, &output_data).ok(); in ExecuteOnStream()
179 complex64(scale_factor_), &output_data, 1) in ExecuteOnStream()
187 se::DeviceMemory<complex64> output_data( in ExecuteOnStream() local
190 stream->ThenFft(fft_plan_.get(), input_data, &output_data).ok(); in ExecuteOnStream()
196 se::DeviceMemory<float> output_data( in ExecuteOnStream() local
199 stream->ThenFft(fft_plan_.get(), input_data, &output_data).ok(); in ExecuteOnStream()
203 scale_factor_, &output_data, 1) in ExecuteOnStream()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmul.h26 int8_t* output_data) { in MulElementwise() argument
38 output_data[i] = static_cast<int8_t>(clamped_output); in MulElementwise()
45 const RuntimeShape& output_shape, int8_t* output_data) { in Mul() argument
52 MulElementwise(flat_size, params, input1_data, input2_data, output_data); in Mul()
59 const RuntimeShape& output_shape, int8_t* output_data) { in Mul() argument
81 output_data[i] = output_offset + clamped_result; in Mul()
91 int8_t* output_data) { in BroadcastMul4DSlow() argument
120 output_data[Offset(extended_output_shape, b, y, x, c)] = in BroadcastMul4DSlow()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h1125 DeviceMemory<double>* output_data, ScratchAllocator* scratch_allocator,
1142 DeviceMemory<float>* output_data, ScratchAllocator* scratch_allocator,
1161 DeviceMemory<Eigen::half>* output_data,
1180 DeviceMemory<int8>* output_data, ScratchAllocator* scratch_allocator,
1194 DeviceMemory<ElementType> output_data,
1202 output_data, convolution_descriptor, algorithm_config,
1244 const BatchDescriptor& output_descriptor, DeviceMemoryBase output_data,
1256 DeviceMemory<ElementType>* output_data,
1263 filter_data, output_descriptor, *output_data,
1291 DeviceMemory<float>* output_data) = 0;
[all …]

12345678