diff options
| author | tslil <tslil@posteo.de> | 2021-01-12 17:01:29 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 91640db661fdcc04960d1f048ac60c2c4b2c5319 (patch) | |
| tree | f983f0448f510401ee407a39d2fa12531f1cc32d /include | |
| parent | 3d1e8f16ac53aad322f2c681f5f3c25918c58602 (diff) | |
Auto-generating weights
Diffstat (limited to 'include')
| -rw-r--r-- | include/weights.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/include/weights.c b/include/weights.c index c128ff7..9eeba07 100644 --- a/include/weights.c +++ b/include/weights.c @@ -1,7 +1,7 @@ #include "weights.h" const float conv2d_weights[KERN_NUM][KERN_SIZE][KERN_SIZE][KERN_CHAN] = - {{{{ 2.58312970e-01, -1.57649890e-02, -1.00786142e-01, 2.25934118e-01, +{{{{ 2.58312970e-01, -1.57649890e-02, -1.00786142e-01, 2.25934118e-01, 2.03468144e-01, 3.16539735e-01, -3.03449720e-01, -9.03429747e-01}, {-7.94863030e-02, -1.58257172e-01, 3.72665450e-02, -2.03835458e-01, -3.96497548e-01, -6.10545933e-01, 9.83448997e-02, -7.34975338e-01}, @@ -265,11 +265,11 @@ const float conv2d_weights[KERN_NUM][KERN_SIZE][KERN_SIZE][KERN_CHAN] = 5.70080839e-02, 2.49329448e-01, 4.34800774e-01, 1.90990448e-01}}}}; const float conv2d_biases[KERN_NUM] = - {-0.5954203, -1.0255206, 0.7012269, 0.7169469, 0.20402987, 0.29087773, - 0.5385397, 0.05127476, 0.65670264, -0.8095288, 0.57354295, -0.40450025}; +{-0.5954203, -1.0255206, 0.7012269, 0.7169469, 0.20402987, 0.29087773, + 0.5385397, 0.05127476, 0.65670264, -0.8095288, 0.57354295, -0.40450025}; const float dense1_weights[DENSE1_NUM][CONV_NUM+2] = - {{-7.94511437e-01, 5.71200252e-01, -1.40879720e-01, 1.24253288e-01, +{{-7.94511437e-01, 5.71200252e-01, -1.40879720e-01, 1.24253288e-01, -5.10804355e-01, 5.07906437e-01, -1.88285959e+00, -7.12222338e-01, -2.87340283e-01, 9.12622809e-01, -5.71415201e-02, 6.10791564e-01, -6.00090921e-01, 3.95308174e-02, 5.66913188e-01, -6.05273545e-02, @@ -523,11 +523,11 @@ const float dense1_weights[DENSE1_NUM][CONV_NUM+2] = 3.57535362e+00, 1.32344556e+00}}; const float dense1_biases[DENSE1_NUM] = - { 0.4636547, 0.13360201, -0.9697346, -1.0855523, 1.0256653, 0.5478138, - 0.7192499, 0.22356796, 1.3530691 }; +{ 0.4636547, 0.13360201, -0.9697346, -1.0855523, 1.0256653, 0.5478138, + 0.7192499, 0.22356796, 1.3530691, }; const float dense2_weights[DENSE2_NUM][DENSE1_NUM] = - {{-0.07496518, -1.219598, -0.77743036, -0.5582114, 0.3379165, 0.38208017, +{{-0.07496518, -1.219598, -0.77743036, -0.5582114, 0.3379165, 0.38208017, 0.7843754, 0.6464907, 0.4145456, }, {-1.2022296, -1.0770698, -0.28290233, 0.9415246, -0.0248992, -0.4531845, -0.43938553, -0.99121296, 1.058052, }, @@ -547,11 +547,12 @@ const float dense2_weights[DENSE2_NUM][DENSE1_NUM] = 0.56897026, -1.0157181, -0.41018486}}; const float dense2_biases[DENSE2_NUM] = - {-0.65758836, 0.11515713, -1.8776059, -0.5293117, -2.9236703, -0.8128398, - 2.5789695, -1.0744314, 0.810859, }; +{-0.65758836, 0.11515713, -1.8776059, -0.5293117, -2.9236703, -0.8128398, + 2.5789695, -1.0744314, 0.810859, }; const float output_weights[DENSE2_NUM] = - { 0.20715837, 0.4751412, 0.14602005, 0.24578023, -0.44211808, 0.22129269, - -0.8266294, -0.22375038, -0.35583553}; +{ 0.20715837, 0.4751412, 0.14602005, 0.24578023, -0.44211808, 0.22129269, + -0.8266294, -0.22375038, -0.35583553}; -const float output_bias = -0.9296964; +const float output_bias = +-0.9296964; |
