/external/XNNPACK/models/ |
D | qs8-mobilenet-v1.cc | 109 auto i8rng = std::bind(std::uniform_int_distribution<int32_t>(-127, 127), std::ref(rng)); in QS8MobileNetV1() local 111 std::generate(v0.begin(), v0.end(), std::ref(i8rng)); in QS8MobileNetV1() 112 std::generate(v1.begin(), v1.end(), std::ref(i8rng)); in QS8MobileNetV1() 113 std::generate(v2.begin(), v2.end(), std::ref(i8rng)); in QS8MobileNetV1() 114 std::generate(v3.begin(), v3.end(), std::ref(i8rng)); in QS8MobileNetV1() 115 std::generate(v4.begin(), v4.end(), std::ref(i8rng)); in QS8MobileNetV1() 116 std::generate(v5.begin(), v5.end(), std::ref(i8rng)); in QS8MobileNetV1() 117 std::generate(v6.begin(), v6.end(), std::ref(i8rng)); in QS8MobileNetV1() 118 std::generate(v7.begin(), v7.end(), std::ref(i8rng)); in QS8MobileNetV1() 119 std::generate(v8.begin(), v8.end(), std::ref(i8rng)); in QS8MobileNetV1() [all …]
|
D | qs8-mobilenet-v2.cc | 194 auto i8rng = std::bind(std::uniform_int_distribution<int32_t>(-127, 127), std::ref(rng)); in QS8MobileNetV2() local 196 std::generate(v0.begin(), v0.end(), std::ref(i8rng)); in QS8MobileNetV2() 197 std::generate(v1.begin(), v1.end(), std::ref(i8rng)); in QS8MobileNetV2() 198 std::generate(v2.begin(), v2.end(), std::ref(i8rng)); in QS8MobileNetV2() 199 std::generate(v3.begin(), v3.end(), std::ref(i8rng)); in QS8MobileNetV2() 200 std::generate(v4.begin(), v4.end(), std::ref(i8rng)); in QS8MobileNetV2() 201 std::generate(v5.begin(), v5.end(), std::ref(i8rng)); in QS8MobileNetV2() 202 std::generate(v6.begin(), v6.end(), std::ref(i8rng)); in QS8MobileNetV2() 203 std::generate(v7.begin(), v7.end(), std::ref(i8rng)); in QS8MobileNetV2() 204 std::generate(v8.begin(), v8.end(), std::ref(i8rng)); in QS8MobileNetV2() [all …]
|
/external/XNNPACK/test/ |
D | vaddc-microkernel-tester.h | 144 auto i8rng = std::bind( 152 std::generate(a.begin(), a.end(), std::ref(i8rng)); 154 std::generate(y.begin(), y.end(), std::ref(i8rng)); 159 const int8_t b = i8rng();
|
D | vadd-microkernel-tester.h | 223 auto i8rng = std::bind( 232 std::generate(a.begin(), a.end(), std::ref(i8rng)); 233 std::generate(b.begin(), b.end(), std::ref(i8rng)); 235 std::generate(y.begin(), y.end(), std::ref(i8rng));
|
D | gavgpool-microkernel-tester.h | 305 auto i8rng = std::bind( 316 std::generate(input.begin(), input.end(), std::ref(i8rng)); 380 auto i8rng = std::bind( 392 std::generate(input.begin(), input.end(), std::ref(i8rng));
|
D | requantization-tester.h | 544 auto i8rng = std::bind( in TestRandomCasesPrecise() local 553 …const int8_t approximate_output = std::min(std::max(int8_t(i8rng()), int8_t(qmin())), int8_t(qmax(… in TestRandomCasesPrecise() 632 auto i8rng = std::bind( in TestRandomCasesApproximate() local 641 …const int8_t approximate_output = std::min(std::max(int8_t(i8rng()), int8_t(qmin())), int8_t(qmax(… in TestRandomCasesApproximate()
|
D | binary-elementwise-operator-tester.h | 211 auto i8rng = std::bind( in TestQS8() local 251 std::generate(input1.begin(), input1.end(), std::ref(i8rng)); in TestQS8() 252 std::generate(input2.begin(), input2.end(), std::ref(i8rng)); in TestQS8()
|
D | global-average-pooling-operator-tester.h | 227 auto i8rng = std::bind( in TestNWCxQS8() local 234 std::generate(input.begin(), input.end(), std::ref(i8rng)); in TestNWCxQS8()
|
D | gemm-microkernel-tester.h | 442 auto i8rng = std::bind( variable 455 std::generate(a.begin(), a.end(), std::ref(i8rng)); 458 std::generate(b.begin(), b.end(), std::ref(i8rng)); 535 auto i8rng = std::bind( 548 std::generate(a.begin(), a.end(), std::ref(i8rng)); 551 std::generate(b.begin(), b.end(), std::ref(i8rng)); 628 auto i8rng = std::bind( 645 std::generate(a.begin(), a.end(), std::ref(i8rng)); 648 std::generate(b.begin(), b.end(), std::ref(i8rng));
|
D | dwconv-microkernel-tester.h | 288 auto i8rng = std::bind( 303 std::generate(input.begin(), input.end(), std::ref(i8rng)); 306 std::generate(kernel.begin(), kernel.end(), std::ref(i8rng));
|
D | convolution-operator-tester.h | 513 auto i8rng = std::bind( in TestNHWCxQS8() local 527 std::generate(input.begin(), input.end(), std::ref(i8rng)); in TestNHWCxQS8() 528 std::generate(kernel.begin(), kernel.end(), std::ref(i8rng)); in TestNHWCxQS8() 1364 auto i8rng = std::bind( in TestSetupNHWCxQS8() local 1383 std::generate(input.begin(), input.end(), std::ref(i8rng)); in TestSetupNHWCxQS8() 1384 std::generate(kernel.begin(), kernel.end(), std::ref(i8rng)); in TestSetupNHWCxQS8() 1502 std::generate(input.begin(), input.end(), std::ref(i8rng)); in TestSetupNHWCxQS8()
|
/external/XNNPACK/bench/ |
D | global-average-pooling.cc | 94 auto i8rng = std::bind( in global_average_pooling_qs8() local 98 std::generate(input.begin(), input.end(), std::ref(i8rng)); in global_average_pooling_qs8()
|
D | qs8-gemm.cc | 54 auto i8rng = std::bind( in GEMMBenchmark() local 58 std::generate(a.begin(), a.end(), std::ref(i8rng)); in GEMMBenchmark() 60 std::generate(k.begin(), k.end(), std::ref(i8rng)); in GEMMBenchmark() 135 auto i8rng = std::bind( in GEMMBenchmark() local 139 std::generate(a.begin(), a.end(), std::ref(i8rng)); in GEMMBenchmark() 141 std::generate(k.begin(), k.end(), std::ref(i8rng)); in GEMMBenchmark()
|
D | convolution.cc | 178 auto i8rng = std::bind( in xnnpack_convolution_qs8() local 193 std::generate(input.begin(), input.end(), std::ref(i8rng)); in xnnpack_convolution_qs8() 195 std::generate(kernel.begin(), kernel.end(), std::ref(i8rng)); in xnnpack_convolution_qs8()
|