Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_highcontrast_highcontrast__classifier.cc
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_graphics_highcontrast_highcontrast__classifier.cc
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.cc.orig 2019-05-23 12:39:34 UTC | |||||
+++ src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.cc | |||||
@@ -1060,55 +1060,47 @@ void DequantizeMinFirst(const int32_t rank, | |||||
// ----------------------------------------------------------------------------- | |||||
// CONSTANTS | |||||
-// Note that for now, endianness of the target machine needs to match that of | |||||
-// the one training was performed on. | |||||
// ----------------------------------------------------------------------------- | |||||
const int32_t dnn_hiddenlayer_0_weights_part_0_shape[2] = {4, 10}; | |||||
const union { | |||||
- uint8_t bytes[160]; | |||||
float values[40]; | |||||
} dnn_hiddenlayer_0_weights_part_0 = {{ | |||||
- 0xbc, 0x22, 0x0a, 0xbf, 0xb4, 0x46, 0x8c, 0x3f, 0xba, 0x31, 0x34, 0xbe, | |||||
- 0x4c, 0x65, 0xdb, 0xbe, 0xf0, 0x54, 0x5e, 0xbe, 0xc1, 0x5d, 0xb3, 0x3f, | |||||
- 0xf4, 0xe6, 0x15, 0xbf, 0x05, 0xc6, 0x34, 0xbf, 0xc0, 0x37, 0x7e, 0xbd, | |||||
- 0x6c, 0x35, 0x0b, 0xbf, 0xca, 0x53, 0x26, 0xbf, 0x58, 0xb4, 0x87, 0x3f, | |||||
- 0x37, 0xee, 0x39, 0xbf, 0xda, 0xfa, 0xf9, 0xbe, 0x97, 0xc1, 0x06, 0xbf, | |||||
- 0xf9, 0x4e, 0x81, 0x3f, 0xb2, 0x44, 0x85, 0xbf, 0x7f, 0x98, 0x7c, 0x3d, | |||||
- 0x15, 0x26, 0xbc, 0xbe, 0x5c, 0x48, 0x05, 0x3f, 0xc8, 0xaa, 0xa1, 0xbd, | |||||
- 0x35, 0xb3, 0x43, 0xbe, 0xeb, 0x46, 0x91, 0x3f, 0x80, 0x71, 0xe3, 0x3c, | |||||
- 0xd1, 0x98, 0x79, 0x3f, 0x3c, 0xd0, 0x0d, 0xbf, 0x1e, 0x02, 0xd3, 0x3e, | |||||
- 0x5d, 0x4b, 0xa2, 0xbf, 0x68, 0xac, 0xaa, 0xbd, 0xf8, 0xe1, 0x75, 0x3e, | |||||
- 0x4a, 0x9c, 0x27, 0xbe, 0xf8, 0xae, 0xb2, 0xbe, 0x7f, 0x9d, 0x91, 0x3f, | |||||
- 0x1e, 0x8b, 0xa8, 0xbe, 0x35, 0x7e, 0xb2, 0x3f, 0xbe, 0x8c, 0xd3, 0xbe, | |||||
- 0xf9, 0xcd, 0xb5, 0x3f, 0xa1, 0x50, 0xaa, 0x3f, 0xe4, 0x6d, 0xdd, 0xbe, | |||||
- 0x0d, 0xce, 0xd3, 0xbe, | |||||
+ -0.539592504501343, 1.09590768814087, -0.175970941781998, -0.428507208824158, | |||||
+ -0.217120885848999, 1.40129864215851, -0.5855553150177, -0.706146538257599, | |||||
+ -0.0620648860931396, -0.543783903121948, -0.649716019630432, 1.06019115447998, | |||||
+ -0.726291120052338, -0.488241970539093, -0.526391446590424, 1.01022255420685, | |||||
+ -1.04115891456604, 0.0616688691079617, -0.367478042840958, 0.520635366439819, | |||||
+ -0.0789390206336975, -0.19111330807209, 1.13497674465179, 0.0277640819549561, | |||||
+ 0.974988043308258, -0.553958654403687, 0.412125527858734, -1.2679249048233, | |||||
+ -0.0833366513252258, 0.240119814872742, -0.163682132959366, -0.34899115562439, | |||||
+ 1.1376188993454, -0.329186379909515, 1.3944765329361, -0.413183152675629, | |||||
+ 1.42034828662872, 1.33058559894562, -0.432479023933411, -0.413681417703629 | |||||
}}; | |||||
const int32_t dnn_hiddenlayer_0_biases_part_0_shape[1] = {10}; | |||||
const union { | |||||
- uint8_t bytes[40]; | |||||
float values[10]; | |||||
} dnn_hiddenlayer_0_biases_part_0 = {{ | |||||
- 0x00, 0x00, 0x00, 0x00, 0xbf, 0x6a, 0x53, 0x3e, 0xd3, 0xc1, | |||||
- 0xd0, 0x3e, 0x00, 0x00, 0x00, 0x00, 0xb6, 0xd8, 0xc0, 0x3e, | |||||
- 0xca, 0xe7, 0x35, 0x3e, 0x23, 0xa5, 0x44, 0x3f, 0x61, 0xfd, | |||||
- 0xd2, 0x3e, 0x00, 0x00, 0x00, 0x00, 0xb6, 0xe0, 0x43, 0x3c, | |||||
+ 0.0, 0.206461891531944, | |||||
+ 0.407728761434555, 0.0, | |||||
+ 0.376653373241425, 0.177642017602921, | |||||
+ 0.76814478635788, 0.412089377641678, | |||||
+ 0.0, 0.0119554307311773 | |||||
}}; | |||||
const int32_t dnn_logits_biases_part_0_shape[1] = {1}; | |||||
const union { | |||||
- uint8_t bytes[4]; | |||||
float values[1]; | |||||
} dnn_logits_biases_part_0 = {{ | |||||
- 0x75, 0xca, 0xd7, 0xbe, | |||||
+ -0.421466499567032 | |||||
}}; | |||||
const int32_t dnn_logits_weights_part_0_shape[2] = {10, 1}; | |||||
const union { | |||||
- uint8_t bytes[40]; | |||||
float values[10]; | |||||
} dnn_logits_weights_part_0 = {{ | |||||
- 0x13, 0x12, 0x39, 0x3f, 0xf3, 0xa5, 0xc2, 0xbf, 0x81, 0x7f, | |||||
- 0xbe, 0x3f, 0xf8, 0x17, 0x26, 0x3e, 0xa4, 0x19, 0xa6, 0x3f, | |||||
- 0xf0, 0xc9, 0xb7, 0xbf, 0x6a, 0x99, 0xd2, 0x3f, 0x8a, 0x7d, | |||||
- 0xe9, 0x3f, 0x83, 0x9a, 0x3a, 0xbf, 0xf1, 0x6c, 0x08, 0x3e, | |||||
+ 0.722932040691376, -1.52068936824799, | |||||
+ 1.48826611042023, 0.162200808525085, | |||||
+ 1.29765748977661, -1.43585014343262, | |||||
+ 1.64530682563782, 1.82414364814758, | |||||
+ -0.728920161724091, 0.133228078484535 | |||||
}}; | |||||
} // anonymous namespace |