/external/XNNPACK/test/ |
D | vunary-microkernel-tester.h | 110 const float accumulated_range = accumulated_max - accumulated_min; variable 111 const float y_max = accumulated_range > 0.0f ? 112 (accumulated_max - accumulated_range / 255.0f * float(255 - qmax())) : 114 const float y_min = accumulated_range > 0.0f ? 115 (accumulated_min + accumulated_range / 255.0f * float(qmin())) :
|
D | global-average-pooling-operator-tester.h | 243 const float accumulated_range = accumulated_max - accumulated_min; in TestNWCxF32() local 244 const float output_min = accumulated_range == 0.0f ? in TestNWCxF32() 246 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestNWCxF32() 247 const float output_max = accumulated_range == 0.0f ? in TestNWCxF32() 249 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestNWCxF32() 318 const float accumulated_range = accumulated_max - accumulated_min; in TestNCWxF32() local 319 const float output_min = accumulated_range == 0.0f ? in TestNCWxF32() 321 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestNCWxF32() 322 const float output_max = accumulated_range == 0.0f ? in TestNCWxF32() 324 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestNCWxF32()
|
D | vbinary-microkernel-tester.h | 139 const float accumulated_range = accumulated_max - accumulated_min; variable 140 const float y_max = accumulated_range > 0.0f ? 141 (accumulated_max - accumulated_range / 255.0f * float(255 - qmax())) : 143 const float y_min = accumulated_range > 0.0f ? 144 (accumulated_min + accumulated_range / 255.0f * float(qmin())) :
|
D | vbinaryc-microkernel-tester.h | 136 const float accumulated_range = accumulated_max - accumulated_min; variable 137 const float y_max = accumulated_range > 0.0f ? 138 (accumulated_max - accumulated_range / 255.0f * float(255 - qmax())) : 140 const float y_min = accumulated_range > 0.0f ? 141 (accumulated_min + accumulated_range / 255.0f * float(qmin())) :
|
D | prelu-microkernel-tester.h | 146 const float accumulated_range = accumulated_max - accumulated_min; variable 147 const float y_min = accumulated_range == 0.0f ? 148 …-std::numeric_limits<float>::infinity() : accumulated_min + accumulated_range / 255.0f * float(qmi… 149 const float y_max = accumulated_range == 0.0f ? 150 …+std::numeric_limits<float>::infinity() : accumulated_max - accumulated_range / 255.0f * float(255…
|
D | prelu-operator-tester.h | 125 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 126 const float y_min = accumulated_range == 0.0f ? in TestF32() 127 …-std::numeric_limits<float>::infinity() : accumulated_min + accumulated_range / 255.0f * float(qmi… in TestF32() 128 const float y_max = accumulated_range == 0.0f ? in TestF32() 129 …+std::numeric_limits<float>::infinity() : accumulated_max - accumulated_range / 255.0f * float(255… in TestF32()
|
D | gavgpool-spchw-microkernel-tester.h | 104 const float accumulated_range = accumulated_max - accumulated_min; variable 105 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 106 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range;
|
D | argmax-pooling-operator-tester.h | 337 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 338 const float output_min = accumulated_range == 0.0f ? in TestF32() 340 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestF32() 341 const float output_max = accumulated_range == 0.0f ? in TestF32() 343 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestF32() 453 const float accumulated_range = accumulated_max - accumulated_min; in TestSetupF32() local 454 const float output_min = accumulated_range == 0.0f ? in TestSetupF32() 456 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestSetupF32() 457 const float output_max = accumulated_range == 0.0f ? in TestSetupF32() 459 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestSetupF32()
|
D | dwconv-microkernel-tester.h | 203 const uint32_t accumulated_range = uint32_t(accumulated_max) - uint32_t(accumulated_min); variable 204 …const double output_scale = accumulated_range >= 256 ? double(accumulated_range) / 255.0 : 1.00001; 300 const float accumulated_range = accumulated_max - accumulated_min; variable 301 const float output_min = accumulated_min + accumulated_range / 255.0f * float(qmin()); 302 const float output_max = accumulated_max - accumulated_range / 255.0f * float(255 - qmax());
|
D | avgpool-microkernel-tester.h | 422 const float accumulated_range = accumulated_max - accumulated_min; variable 423 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 424 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range; 501 const float accumulated_range = accumulated_max - accumulated_min; variable 502 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 503 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range; 582 const float accumulated_range = accumulated_max - accumulated_min; variable 583 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 584 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range; 662 const float accumulated_range = accumulated_max - accumulated_min; variable [all …]
|
D | argmaxpool-microkernel-tester.h | 207 const float accumulated_range = accumulated_max - accumulated_min; variable 208 const float output_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 209 const float output_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range; 310 const float accumulated_range = accumulated_max - accumulated_min; variable 311 const float output_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 312 const float output_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range;
|
D | gavgpool-microkernel-tester.h | 320 const float accumulated_range = accumulated_max - accumulated_min; variable 321 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 322 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range; 387 const float accumulated_range = accumulated_max - accumulated_min; variable 388 const float y_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 389 const float y_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range;
|
D | vmulcaddc-microkernel-tester.h | 157 const float accumulated_range = accumulated_max - accumulated_min; variable 158 const float y_max = accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); 159 const float y_min = accumulated_min + accumulated_range / 255.0f * float(qmin());
|
D | max-pooling-operator-tester.h | 513 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 514 const float output_min = accumulated_range == 0.0f ? in TestF32() 516 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestF32() 517 const float output_max = accumulated_range == 0.0f ? in TestF32() 519 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestF32() 754 const float accumulated_range = accumulated_max - accumulated_min; in TestSetupF32() local 755 const float output_min = accumulated_range == 0.0f ? in TestSetupF32() 757 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestSetupF32() 758 const float output_max = accumulated_range == 0.0f ? in TestSetupF32() 760 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestSetupF32()
|
D | average-pooling-operator-tester.h | 514 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 515 const float output_min = accumulated_range == 0.0f ? in TestF32() 517 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestF32() 518 const float output_max = accumulated_range == 0.0f ? in TestF32() 520 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestF32() 760 const float accumulated_range = accumulated_max - accumulated_min; in TestSetupF32() local 761 const float output_min = accumulated_range == 0.0f ? in TestSetupF32() 763 accumulated_min + accumulated_range / 255.0f * float(qmin()); in TestSetupF32() 764 const float output_max = accumulated_range == 0.0f ? in TestSetupF32() 766 accumulated_max - accumulated_range / 255.0f * float(255 - qmax()); in TestSetupF32()
|
D | dwconv-spchw-microkernel-tester.h | 264 const float accumulated_range = accumulated_max - accumulated_min; variable 265 const float output_min = accumulated_min + accumulated_range / 255.0f * float(qmin()); 266 const float output_max = accumulated_max - accumulated_range / 255.0f * float(255 - qmax());
|
D | add-operator-tester.h | 268 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 270 …-std::numeric_limits<float>::infinity() : accumulated_min + accumulated_range / 255.0f * float(qmi… in TestF32() 272 …+std::numeric_limits<float>::infinity() : accumulated_max - accumulated_range / 255.0f * float(255… in TestF32()
|
D | maxpool-microkernel-tester.h | 269 const float accumulated_range = accumulated_max - accumulated_min; variable 270 const float output_min = accumulated_min + float(qmin()) / 255.0f * accumulated_range; 271 const float output_max = accumulated_max - float(255 - qmax()) / 255.0f * accumulated_range;
|
D | binary-elementwise-operator-tester.h | 203 const float accumulated_range = accumulated_max - accumulated_min; in TestF32() local 205 …-std::numeric_limits<float>::infinity() : accumulated_min + accumulated_range / 255.0f * float(qmi… in TestF32() 207 …+std::numeric_limits<float>::infinity() : accumulated_max - accumulated_range / 255.0f * float(255… in TestF32()
|