Home
last modified time | relevance | path

Searched refs:i8rng (Results 1 – 14 of 14) sorted by relevance

/external/XNNPACK/models/
Dqs8-mobilenet-v1.cc109 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 …]
Dqs8-mobilenet-v2.cc194 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/
Dvaddc-microkernel-tester.h144 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();
Dvadd-microkernel-tester.h223 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));
Dgavgpool-microkernel-tester.h305 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));
Drequantization-tester.h544 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()
Dbinary-elementwise-operator-tester.h211 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()
Dglobal-average-pooling-operator-tester.h227 auto i8rng = std::bind( in TestNWCxQS8() local
234 std::generate(input.begin(), input.end(), std::ref(i8rng)); in TestNWCxQS8()
Dgemm-microkernel-tester.h442 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));
Ddwconv-microkernel-tester.h288 auto i8rng = std::bind(
303 std::generate(input.begin(), input.end(), std::ref(i8rng));
306 std::generate(kernel.begin(), kernel.end(), std::ref(i8rng));
Dconvolution-operator-tester.h513 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/
Dglobal-average-pooling.cc94 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()
Dqs8-gemm.cc54 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()
Dconvolution.cc178 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()