/external/XNNPACK/test/ |
D | f32-dwconv2d-chw.cc | 24 .input_width(4) in TEST() 38 for (size_t input_width = 8; input_width < 32; input_width += 4) { in TEST() local 40 .input_width(input_width) in TEST() 55 for (size_t input_width = 1; input_width < 4; input_width++) { in TEST() local 57 .input_width(4) in TEST() 72 for (size_t input_width = 5; input_width < 9; input_width++) { in TEST() local 74 .input_width(input_width) in TEST() 90 for (size_t input_width = 1; input_width < 21; input_width += 3) { in TEST() local 92 .input_width(input_width) in TEST() 112 .input_width(4) in TEST() [all …]
|
D | f32-conv-hwc.cc | 25 .input_width(4) in TEST() 32 for (size_t input_width = 8; input_width <= 32; input_width += 12) { in TEST() local 40 .input_width(input_width) in TEST() 48 for (size_t input_width = 1; input_width < 4; input_width++) { in TEST() local 56 .input_width(input_width) in TEST() 64 for (size_t input_width = 5; input_width < 8; input_width++) { in TEST() local 72 .input_width(input_width) in TEST() 81 for (size_t input_width = 1; input_width < 32; input_width += 7) { in TEST() local 89 .input_width(input_width) in TEST() 99 for (size_t input_width = 1; input_width < 32; input_width += 7) { in TEST() local [all …]
|
D | f32-conv-hwc2chw.cc | 25 .input_width(4) in TEST() 32 for (size_t input_width = 8; input_width <= 32; input_width += 12) { in TEST() local 40 .input_width(input_width) in TEST() 48 for (size_t input_width = 1; input_width < 4; input_width++) { in TEST() local 56 .input_width(input_width) in TEST() 64 for (size_t input_width = 5; input_width < 8; input_width++) { in TEST() local 72 .input_width(input_width) in TEST() 81 for (size_t input_width = 1; input_width < 32; input_width += 7) { in TEST() local 89 .input_width(input_width) in TEST() 99 for (size_t input_width = 1; input_width < 32; input_width += 7) { in TEST() local [all …]
|
D | max-pooling-nhwc.cc | 23 .input_width(pool_size + 2) in TEST() 41 .input_width(pool_size + 2) in TEST() 58 for (size_t input_width = pool_size; input_width <= pool_size * 2; input_width++) { in TEST() local 62 .input_width(input_width) in TEST() 80 .input_width(pool_size + 4) in TEST() 97 .input_width(2 * pool_size + 1) in TEST() 116 .input_width(3) in TEST() 134 .input_width(3) in TEST() 155 .input_width(3) in TEST() 173 .input_width(3) in TEST() [all …]
|
D | resize-bilinear-nhwc.cc | 25 for (size_t input_width = 1; input_width <= 3; input_width++) { in TEST() local 26 for (size_t output_width = input_width + 1; output_width < 15; output_width *= 3) { in TEST() 28 .input_size(1, input_width) in TEST() 65 for (size_t input_width = output_width + 1; input_width < 15; input_width *= 3) { in TEST() local 67 .input_size(1, input_width) in TEST() 78 for (size_t input_width = 3; input_width <= 5; input_width += 2) { in TEST() local 80 .input_size(input_height, input_width) in TEST() 179 for (size_t input_width = 1; input_width <= 3; input_width++) { in TEST() local 180 for (size_t output_width = input_width + 1; output_width < 15; output_width *= 3) { in TEST() 183 .input_size(1, input_width) in TEST() [all …]
|
D | resize-bilinear-nchw.cc | 25 for (size_t input_width = 2; input_width <= 3; input_width++) { in TEST() local 26 for (size_t output_width = input_width + 1; output_width < 15; output_width *= 3) { in TEST() 28 .input_size(2, input_width) in TEST() 65 for (size_t input_width = output_width + 1; input_width < 15; input_width *= 3) { in TEST() local 67 .input_size(2, input_width) in TEST() 78 for (size_t input_width = 3; input_width <= 5; input_width += 2) { in TEST() local 80 .input_size(input_height, input_width) in TEST() 179 for (size_t input_width = 2; input_width <= 3; input_width++) { in TEST() local 180 for (size_t output_width = input_width + 1; output_width < 15; output_width *= 3) { in TEST() 183 .input_size(2, input_width) in TEST() [all …]
|
D | average-pooling-nhwc.cc | 40 .input_width(pooling_size.second + 2) in TEST() 47 .input_width(pooling_size.first + 2) in TEST() 67 .input_width(pooling_size.second + 2) in TEST() 76 .input_width(pooling_size.first + 2) in TEST() 97 .input_width(pooling_size.second + 2) in TEST() 107 .input_width(pooling_size.first + 2) in TEST() 130 .input_width(pooling_size.second + 2) in TEST() 140 .input_width(pooling_size.first + 2) in TEST() 162 .input_width(pooling_size.second + 2) in TEST() 170 …for (size_t input_width = pooling_size.second + 2; input_width <= pooling_size.second + 3; input_w… in TEST() local [all …]
|
D | argmax-pooling-nhwc.cc | 36 .input_width(pool_size + 2) in TEST() 54 .input_width(pool_size + 2) in TEST() 71 for (size_t input_width = pool_size + 1; input_width <= pool_size; input_width++) { in TEST() local 75 .input_width(input_width) in TEST() 93 .input_width(3) in TEST() 111 .input_width(3) in TEST() 132 .input_width(3) in TEST() 150 .input_width(3) in TEST() 159 .input_width(pool_size + 2) in TEST() 176 .input_width(3) in TEST() [all …]
|
D | convolution-nhwc.cc | 468 for (size_t input_width = 13; input_width <= 14; input_width++) { variable 470 .input_size(input_height, input_width) 496 for (size_t input_width = 13; input_width <= 14; input_width++) { variable 498 .input_size(input_height, input_width) 524 for (size_t input_width = 13; input_width <= 14; input_width++) { variable 526 .input_size(input_height, input_width) 608 for (size_t input_width = 14; input_width <= 15; input_width++) { in TEST() local 610 .input_size(input_height, input_width) in TEST() 634 for (size_t input_width = 14; input_width <= 15; input_width++) { in TEST() local 636 .input_size(input_height, input_width) in TEST() [all …]
|
D | unpooling-nhwc.cc | 18 .input_width(7) in TEST() 36 .input_width(7) in TEST() 56 .input_width(1) in TEST() 74 .input_width(1) in TEST() 94 .input_width(4) in TEST() 113 .input_width(4) in TEST() 137 .input_width(7) in TEST() 152 .input_width(7) in TEST() 167 .input_width(7) in TEST() 186 .input_width(7) in TEST() [all …]
|
D | depth-to-space-operator-tester.h | 24 inline DepthToSpaceOperatorTester& input_size(size_t input_height, size_t input_width) { in input_size() argument 26 assert(input_width >= 1); in input_size() 28 this->input_width_ = input_width; in input_size() 42 inline DepthToSpaceOperatorTester& input_width(size_t input_width) { in input_width() function 43 assert(input_width >= 1); in input_width() 44 this->input_width_ = input_width; in input_width() 48 inline size_t input_width() const { in input_width() function 57 return input_width() * block_size(); in output_width() 139 … (batch_size() * input_height() * input_width() - 1) * input_channels_stride() + input_channels()); in TestNHWCxX32() 162 batch_size(), input_height(), input_width(), in TestNHWCxX32() [all …]
|
D | resize-bilinear-operator-tester.h | 24 inline ResizeBilinearOperatorTester& input_size(size_t input_height, size_t input_width) { in input_size() argument 26 assert(input_width >= 1); in input_size() 28 this->input_width_ = input_width; in input_size() 42 inline ResizeBilinearOperatorTester& input_width(size_t input_width) { in input_width() argument 43 assert(input_width >= 1); in input_width() 44 this->input_width_ = input_width; in input_width() 48 inline size_t input_width() const { in input_width() function 90 return float(input_width() - 1) / float(output_width() - 1); in width_scale() 92 return float(input_width()) / float(output_width()); in width_scale() 176 return input_width(); in next_input_width() [all …]
|
D | depthtospace-microkernel-tester.h | 53 inline DepthToSpaceMicrokernelTester& input_width(size_t input_width) { in input_width() argument 54 assert(input_width != 0); in input_width() 55 this->input_width_ = input_width; in input_width() 59 inline size_t input_width() const { in input_width() function 64 return this->input_width() * this->block_size(); in output_width() 107 std::vector<uint32_t> input(input_channels() * input_height() * input_width()); in Test() 117 input_width(), in Test() 126 for (size_t ix = 0; ix < input_width(); ix++) { in Test() 130 … (((by * block_size() + bx) * output_channels() + oc) * input_height() + iy) * input_width() + ix; in Test() 134 << "input x: " << ix << " / " << input_width() in Test()
|
/external/XNNPACK/src/f32-dwconv2d-chw/gen/ |
D | 3x3p1-minmax-scalar-5x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 47 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 48 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 49 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 50 const float* i5 = (const float*) ((uintptr_t) i4 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 51 const float* i6 = (const float*) ((uintptr_t) i5 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 54 float* o1 = (float*) ((uintptr_t) o0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() 55 float* o2 = (float*) ((uintptr_t) o1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_5x1() [all …]
|
D | 3x3p1-minmax-scalar-6x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 47 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 48 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 49 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 50 const float* i5 = (const float*) ((uintptr_t) i4 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 51 const float* i6 = (const float*) ((uintptr_t) i5 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 52 const float* i7 = (const float*) ((uintptr_t) i6 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() 55 float* o1 = (float*) ((uintptr_t) o0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_6x1() [all …]
|
D | 3x3p1-minmax-scalar-4x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 47 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 48 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 49 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 50 const float* i5 = (const float*) ((uintptr_t) i4 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 53 float* o1 = (float*) ((uintptr_t) o0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 54 float* o2 = (float*) ((uintptr_t) o1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() 55 float* o3 = (float*) ((uintptr_t) o2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_4x1() [all …]
|
D | 3x3s2p1-minmax-scalar-4x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 46 …const size_t output_width = round_down_po2((input_width + (2 /* padding */ - 3 /* kernel size */ +… in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 48 const float* i0 = (const float*) ((uintptr_t) input - ((-padding_top) & input_width)); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 49 const float* i1 = (const float*) ((uintptr_t) i0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 53 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 54 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 55 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() 56 const float* i5 = (const float*) ((uintptr_t) i4 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_4x1() [all …]
|
D | 3x3p1-minmax-scalar-3x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 47 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 48 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 49 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 52 float* o1 = (float*) ((uintptr_t) o0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 53 float* o2 = (float*) ((uintptr_t) o1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 81 size_t w = input_width; in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() 181 i0 = (const float*) ((uintptr_t) i3 - input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_3x1() [all …]
|
D | 3x3s2p1-minmax-scalar-3x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 46 …const size_t output_width = round_down_po2((input_width + (2 /* padding */ - 3 /* kernel size */ +… in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 48 const float* i0 = (const float*) ((uintptr_t) input - ((-padding_top) & input_width)); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 49 const float* i1 = (const float*) ((uintptr_t) i0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 53 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 54 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 55 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() 56 const float* i5 = (const float*) ((uintptr_t) i4 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_3x1() [all …]
|
D | 3x3s2p1-minmax-scalar-2x1-acc2.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 46 …const size_t output_width = round_down_po2((input_width + (2 /* padding */ - 3 /* kernel size */ +… in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 48 const float* i0 = (const float*) ((uintptr_t) input - ((-padding_top) & input_width)); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 49 const float* i1 = (const float*) ((uintptr_t) i0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 53 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 54 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 55 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() 80 size_t w = input_width; in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1_acc2() [all …]
|
D | 3x3s2p1-minmax-scalar-2x1.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 46 …const size_t output_width = round_down_po2((input_width + (2 /* padding */ - 3 /* kernel size */ +… in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 48 const float* i0 = (const float*) ((uintptr_t) input - ((-padding_top) & input_width)); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 49 const float* i1 = (const float*) ((uintptr_t) i0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 53 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 54 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 55 const float* i4 = (const float*) ((uintptr_t) i3 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() 80 size_t w = input_width; in xnn_f32_dwconv2d_chw_ukernel_3x3s2p1__scalar_2x1() [all …]
|
D | 3x3p1-minmax-scalar-2x1-acc2.c | 18 size_t input_width, in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() argument 27 assert(input_width != 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 28 assert(input_width % sizeof(float) == 0); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 47 const float* i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 48 const float* i3 = (const float*) ((uintptr_t) i2 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 51 float* o1 = (float*) ((uintptr_t) o0 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 73 size_t w = input_width; in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 153 i0 = (const float*) ((uintptr_t) i2 - input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 154 i1 = (const float*) ((uintptr_t) i3 - input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() 155 i2 = (const float*) ((uintptr_t) i1 + input_width); in xnn_f32_dwconv2d_chw_ukernel_3x3p1__scalar_2x1_acc2() [all …]
|
/external/XNNPACK/src/ |
D | indirection.c | 28 const size_t input_width = op->input_width; in xnn_indirection_init_conv2d() local 59 if (input_x < input_width) { in xnn_indirection_init_conv2d() 61 ((uintptr_t) input + (input_y * input_width + input_x) * input_pixel_stride); in xnn_indirection_init_conv2d() 88 const size_t input_width = op->input_width; in xnn_indirection_init_deconv2d() local 122 …de_height == y && input_y < input_height && input_x * stride_width == x && input_x < input_width) { in xnn_indirection_init_deconv2d() 123 …indirection_buffer[index] = (const void*) ((uintptr_t) input + (input_y * input_width + input_x) *… in xnn_indirection_init_deconv2d() 144 const size_t input_width = op->input_width; in xnn_indirection_init_subconv2d() local 183 if (input_y < input_height && input_x < input_width) { in xnn_indirection_init_subconv2d() 185 … (const void*) ((uintptr_t) input + (input_y * input_width + input_x) * input_pixel_stride); in xnn_indirection_init_subconv2d() 209 const size_t input_width = op->input_width; in xnn_indirection_init_dwconv2d() local [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | depthtospace_op_gpu.cu.cc | 36 const int input_height, const int input_width, in D2S_NHWC() argument 56 in_d + input_depth * (in_w + input_width * (in_h + input_height * b)); in D2S_NHWC() 66 const int block_size, const int input_width, in D2S_NCHW() argument 77 const int n_bY_bX_oC_iY = input_idx / input_width; in D2S_NCHW() 78 const int iX = input_idx - n_bY_bX_oC_iY * input_width; in D2S_NCHW() 92 (iX + input_width * in D2S_NCHW() 103 const int input_width, const int output_width, in D2S_NCHW_LOOP() argument 119 const int n_oC_iY = thread_idx / input_width; in D2S_NCHW_LOOP() 120 const int iX = thread_idx - n_oC_iY * input_width; in D2S_NCHW_LOOP() 152 const int input_width = input.dimension(2); in operator ()() local [all …]
|
/external/webrtc/modules/video_coding/codecs/vp9/ |
D | svc_config.cc | 34 std::vector<SpatialLayer> ConfigureSvcScreenSharing(size_t input_width, in ConfigureSvcScreenSharing() argument 44 spatial_layer.width = input_width; in ConfigureSvcScreenSharing() 62 std::vector<SpatialLayer> ConfigureSvcNormalVideo(size_t input_width, in ConfigureSvcNormalVideo() argument 74 std::log2(1.0f * input_width / kMinVp9SpatialLayerWidth)))); in ConfigureSvcNormalVideo() 92 input_width = input_width - input_width % required_divisiblity; in ConfigureSvcNormalVideo() 98 spatial_layer.width = input_width >> (num_spatial_layers - sl_idx - 1); in ConfigureSvcNormalVideo() 140 std::vector<SpatialLayer> GetSvcConfig(size_t input_width, in GetSvcConfig() argument 147 RTC_DCHECK_GT(input_width, 0); in GetSvcConfig() 153 return ConfigureSvcScreenSharing(input_width, input_height, in GetSvcConfig() 156 return ConfigureSvcNormalVideo(input_width, input_height, max_framerate_fps, in GetSvcConfig()
|