Home
last modified time | relevance | path

Searched refs:in_h (Results 1 – 20 of 20) sorted by relevance

/external/libaom/libaom/test/
Dcomp_avg_pred_test.h113 const int in_h = block_size_high[block_idx]; in RunCheckOutput() local
123 const int offset_r = 3 + rnd_.PseudoUniform(h - in_h - 7); in RunCheckOutput()
126 in_w, in_h, ref8 + offset_r * w + offset_c, in RunCheckOutput()
128 test_impl(output2, pred8 + offset_r * w + offset_c, in_w, in_h, in RunCheckOutput()
131 for (int i = 0; i < in_h; ++i) { in RunCheckOutput()
136 << in_w << "x" << in_h << " Pixel mismatch at index " << idx in RunCheckOutput()
158 const int in_h = block_size_high[block_idx]; in RunSpeedTest() local
166 const int num_loops = 1000000000 / (in_w + in_h); in RunSpeedTest()
171 aom_dist_wtd_comp_avg_pred_c(output, pred8, in_w, in_h, ref8, in_w, in RunSpeedTest()
176 printf("distwtdcompavg c_code %3dx%-3d: %7.2f us\n", in_w, in_h, in RunSpeedTest()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dspace_to_depth.h54 for (int in_h = 0; in_h < input_height; ++in_h) { in SpaceToDepth() local
58 in_d + ((in_h % block_size) * block_size + in_w % block_size) * in SpaceToDepth()
61 const int out_h = in_h / block_size; in SpaceToDepth()
64 const int input_index = Offset(input_shape, in_b, in_h, in_w, in_d); in SpaceToDepth()
Dbatch_to_space_nd.h76 for (int in_h = 0; in_h < input_height; ++in_h) { in BatchToSpaceND() local
77 const int out_h = in_h * block_shape_height + in BatchToSpaceND()
91 input1_data + Offset(input1_shape, in_batch, in_h, in_w, 0); in BatchToSpaceND()
Dreduce.h249 for (int in_h = 0; in_h < input_height; ++in_h) { in Mean() local
251 value += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)]; in Mean()
305 for (int in_h = 0; in_h < input_height; ++in_h) { in Mean() local
307 acc += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)]; in Mean()
Ddepth_to_space.h62 const int in_h = out_h / block_size; in DepthToSpace() local
65 const int input_index = Offset(input_shape, in_b, in_h, in_w, in_d); in DepthToSpace()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem_unittest.cc289 const int in_h = 256; in TEST() local
291 const std::unique_ptr<uint8[]> refdata1(new uint8[stride1 * in_h]); in TEST()
292 for (int i = 0; i < in_h; i++) { in TEST()
303 const std::unique_ptr<uint8[]> refdata2(new uint8[stride2 * in_h]); in TEST()
304 for (int i = 0; i < in_h; i++) { in TEST()
318 cpdata1 = Compress(refdata1.get(), in_w, in_h, flags); in TEST()
320 cpdata2 = Compress(refdata2.get(), in_w, in_h, flags); in TEST()
330 Compress(refdata1.get(), in_w, in_h, flags, &cptest); in TEST()
333 Compress(refdata2.get(), in_w, in_h, flags, &cptest); in TEST()
349 CHECK_EQ(h, in_h); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmean.h57 for (int in_h = 0; in_h < input_height; ++in_h) { in Mean() local
59 acc += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)] - in Mean()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dmean.h65 for (int in_h = 0; in_h < input_height; ++in_h) { in MeanImpl() local
68 input_data + Offset(input_shape, out_b, in_h, in_w, out_d); in MeanImpl()
128 for (int in_h = 0; in_h < input_height; ++in_h) { in MeanImpl() local
130 acc += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)]; in MeanImpl()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_slice.cc74 for (int in_h = begin[1]; in_h <= end[1]; ++in_h) { in Slice() local
78 input_data[Offset(padded_shape, {in_b, in_h, in_w, in_d})]; in Slice()
/external/libldac/src/
Dsigana_fixp_ldac.c140 INT32 in_h, in calc_exp_ldac() argument
145 if (in_h) { in calc_exp_ldac()
146 e = norm_ldac((UINT32)in_h) + 32; in calc_exp_ldac()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dimage_preprocessing_stage.cc129 for (int in_h = start_h; in_h < start_h + crop_height; ++in_h) { in Crop() local
132 cropped_image->push_back(image_data->GetData(in_h, in_w, c)); in Crop()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_area_op_test.cc166 for (int in_h : {1, 3, 5, 8, 100, 233}) { in RunManyRandomTests()
169 RunRandomTest(in_h, in_w, target_height, target_width, channels); in RunManyRandomTests()
Dresize_bicubic_op_test.cc191 for (int in_h : {1, 3, 5, 8, 100, 233}) { in RunManyRandomTests()
194 RunRandomTest(batch_size, in_h, in_w, target_height, target_width, in RunManyRandomTests()
Dresize_bilinear_op_test.cc153 for (int in_h : {1, 3, 5, 8, 100, 233}) { in RunManyRandomTests()
156 TestResize(batch_size, in_w, in_h, channels, target_width, in RunManyRandomTests()
/external/tensorflow/tensorflow/core/kernels/
Ddepthtospace_op.cc159 const int in_h = h / block_size; in operator ()() local
168 output(b, h, w, d) = input(b, in_h, in_w, in_d); in operator ()()
Ddepthtospace_op_gpu.cu.cc49 const int in_h = h / block_size; in D2S_NHWC() local
56 in_d + input_depth * (in_w + input_width * (in_h + input_height * b)); in D2S_NHWC()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dconvert.cc70 const int in_h = reverse_space ? shape.h - 1 - h : h; in ConvertToPHWO4I4() local
72 value = in[shape.LinearIndex({tensor_o, in_h, in_w, tensor_i})]; in ConvertToPHWO4I4()
/external/vixl/test/aarch64/
Dtest-assembler-sve-aarch64.cc3004 int in_h[] = {0, 0, 0, 0, 1, 1, 0, 0}; in TEST_SVE() local
3009 Initialise(&masm, p1.VnH(), in_h); in TEST_SVE()
3040 ASSERT_EQUAL_SVE(in_h, p1.VnH()); in TEST_SVE()
3345 int in_h[] = {0, 0, 0, 0, 1, 1, 0, 0}; in TEST_SVE() local
3350 Initialise(&masm, p1.VnH(), in_h); in TEST_SVE()
5129 unsigned in_h[] = {0x8181, 0x7f7f, 0x1010, 0xaaaa, 0x5555, 0xffff, 0xf0f0}; in TEST_SVE() local
5143 IntArithHelper(config, fn, kHRegSize, in_h, in_h, add_exp_h); in TEST_SVE()
5156 IntArithHelper(config, fn, kHRegSize, in_h, in_h, sqadd_exp_h); in TEST_SVE()
5169 IntArithHelper(config, fn, kHRegSize, in_h, in_h, uqadd_exp_h); in TEST_SVE()
10885 int in_h[] = {0, -128, 127, INT16_MIN, INT16_MAX, 1, -1, 5555}; in TEST_SVE() local
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h1011 for (int in_h = 0; in_h < input_height; ++in_h) { in MeanImpl() local
1014 input_data + Offset(input_shape, out_b, in_h, in_w, out_d); in MeanImpl()
1078 for (int in_h = 0; in_h < input_height; ++in_h) { in MeanImpl() local
1080 acc += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)]; in MeanImpl()
1666 for (int in_h = 0; in_h < input_height; ++in_h) { in DepthToSpace() local
1667 const T* input_ptr = input_data + Offset(input_shape, batch, in_h, 0, 0); in DepthToSpace()
5039 for (int in_h = in_h_start; in_h < in_h_end; ++in_h) { in BatchToSpaceND() local
5040 const int out_h = in_h * block_shape_height + in BatchToSpaceND()
5059 input1_data + Offset(input1_shape, in_batch, in_h, in_w, 0); in BatchToSpaceND()
/external/libaom/libaom/av1/encoder/
Dcnn.c542 const int in_h = h * in_stride; in av1_cnn_convolve_c() local
549 input[k][in_h + w]; in av1_cnn_convolve_c()