正态分布 量化

许久没更新了,更新一个正态分布量化有关的内容。
前段时间对数据进行量化传输,但是正态分布的最优量化在网上找资料只找到最多到8bit量化的内容,因此自己跑了一个9bit量化的表。10bit的还在跑,暂时更新一下9bit量化表。

以下是针对标准正态分布的输入值的门限:
-4.80197961, -4.48878536, -4.2801022, -4.120456156, -3.989954774, -3.878953854, -3.781989534, -3.695647381, -3.617643083, -3.546369298, -3.480650075, -3.41959793, -3.362525865, -3.308890724, -3.258255319, -3.210262325, -3.164615777, -3.121067661, -3.079407996, -3.039457369, -3.001061222, -2.964085421, -2.92841278, -2.893940289, -2.8605769, -2.828241722, -2.796862552, -2.766374662, -2.73671979, -2.707845298, -2.679703464, -2.652250883, -2.625447954, -2.599258443, -2.573649112, -2.54858939, -2.524051092, -2.500008177, -2.476436532, -2.453313782, -2.43061913, -2.408333204, -2.386437935, -2.364916435, -2.3437529, -2.322932514, -2.30244137, -2.282266397, -2.26239529, -2.242816453, -2.223518944, -2.204492428, -2.185727128, -2.16721379, -2.148943643, -2.130908365, -2.113100054, -2.095511201, -2.07813466, -2.060963628, -2.043991621, -2.027212456, -2.010620232, -1.99420931, -1.977974301, -1.961910052, -1.946011626, -1.930274296, -1.914693532, -1.899264988, -1.883984493, -1.868848041, -1.853851784, -1.838992023, -1.824265198, -1.809667883, -1.79519678, -1.780848711, -1.766620613, -1.752509532, -1.738512617, -1.724627116, -1.710850373, -1.697179821, -1.683612978, -1.670147444, -1.656780899, -1.643511096, -1.630335861, -1.617253088, -1.604260735, -1.591356825, -1.578539441, -1.565806722, -1.553156863, -1.540588114, -1.528098773, -1.515687189, -1.503351756, -1.491090916, -1.478903153, -1.466786991, -1.454740997, -1.442763776, -1.430853969, -1.419010254, -1.407231344, -1.395515984, -1.383862952, -1.372271056, -1.360739136, -1.34926606, -1.337850722, -1.326492045, -1.315188979, -1.303940495, -1.292745593, -1.281603293, -1.270512641, -1.259472701, -1.248482562, -1.237541331, -1.226648136, -1.215802125, -1.205002463, -1.194248335, -1.183538942, -1.172873503, -1.162251252, -1.151671442, -1.141133338, -1.130636222, -1.120179391, -1.109762155, -1.099383839, -1.08904378, -1.078741328, -1.068475847, -1.058246712, -1.048053311, -1.037895043, -1.027771317, -1.017681555, -1.007625189, -0.99760166, -0.987610421, -0.977650934, -0.967722669, -0.957825109, -0.947957741, -0.938120065, -0.928311588, -0.918531825, -0.908780299, -0.899056541, -0.889360091, -0.879690495, -0.870047306, -0.860430085, -0.850838401, -0.841271826, -0.831729943, -0.822212338, -0.812718606, -0.803248345, -0.793801162, -0.784376668, -0.77497448, -0.76559422, -0.756235516, -0.746898002, -0.737581315, -0.728285098, -0.719009001, -0.709752675, -0.700515777, -0.691297971, -0.682098921, -0.672918298, -0.663755777, -0.654611037, -0.645483761, -0.636373634, -0.627280348, -0.618203597, -0.609143078, -0.600098492, -0.591069544, -0.582055943, -0.573057398, -0.564073626, -0.555104342, -0.546149268, -0.537208128, -0.528280647, -0.519366554, -0.510465583, -0.501577466, -0.492701942, -0.483838749, -0.474987631, -0.466148331, -0.457320598, -0.448504179, -0.439698826, -0.430904293, -0.422120335, -0.41334671, -0.404583179, -0.395829501, -0.387085442, -0.378350767, -0.369625242, -0.360908636, -0.35220072, -0.343501267, -0.334810049, -0.326126843, -0.317451425, -0.308783573, -0.300123067, -0.291469688, -0.282823218, -0.274183441, -0.265550142, -0.256923105, -0.24830212, -0.239686973, -0.231077455, -0.222473354, -0.213874463, -0.205280574, -0.19669148, -0.188106974, -0.179526851, -0.170950907, -0.162378938, -0.153810742, -0.145246115, -0.136684856, -0.128126763, -0.119571637, -0.111019277, -0.102469483, -0.093922057, -0.085376799, -0.076833511, -0.068291996, -0.059752055, -0.051213492, -0.042676108, -0.034139707, -0.025604093, -0.017069068, -0.008534436, 1.39E-15, 0.008534436, 0.017069068, 0.025604093, 0.034139707, 0.042676108, 0.051213492, 0.059752055, 0.068291996, 0.076833511, 0.085376799, 0.093922057, 0.102469483, 0.111019277, 0.119571637, 0.128126763, 0.136684856, 0.145246115, 0.153810742, 0.162378938, 0.170950907, 0.179526851, 0.188106974, 0.19669148, 0.205280574, 0.213874463, 0.222473354, 0.231077455, 0.239686973, 0.24830212, 0.256923105, 0.265550142, 0.274183441, 0.282823218, 0.291469688, 0.300123067, 0.308783573, 0.317451425, 0.326126843, 0.334810049, 0.343501267, 0.35220072, 0.360908636, 0.369625242, 0.378350767, 0.387085442, 0.395829501, 0.404583179, 0.41334671, 0.422120335, 0.430904293, 0.439698826, 0.448504179, 0.457320598, 0.466148331, 0.474987631, 0.483838749, 0.492701942, 0.501577466, 0.510465583, 0.519366554, 0.528280647, 0.537208128, 0.546149268, 0.555104342, 0.564073626, 0.573057398, 0.582055943, 0.591069544, 0.600098492, 0.609143078, 0.618203597, 0.627280348, 0.636373634, 0.645483761, 0.654611037, 0.663755777, 0.672918298, 0.682098921, 0.691297971, 0.700515777, 0.709752675, 0.719009001, 0.728285098, 0.737581315, 0.746898002, 0.756235516, 0.76559422, 0.77497448, 0.784376668, 0.793801162, 0.803248345, 0.812718606, 0.822212338, 0.831729943, 0.841271826, 0.850838401, 0.860430085, 0.870047306, 0.879690495, 0.889360091, 0.899056541, 0.908780299, 0.918531825, 0.928311588, 0.938120065, 0.947957741, 0.957825109, 0.967722669, 0.977650934, 0.987610421, 0.99760166, 1.007625189, 1.017681555, 1.027771317, 1.037895043, 1.048053311, 1.058246712, 1.068475847, 1.078741328, 1.08904378, 1.099383839, 1.109762155, 1.120179391, 1.130636222, 1.141133338, 1.151671442, 1.162251252, 1.172873503, 1.183538942, 1.194248335, 1.205002463, 1.215802125, 1.226648136, 1.237541331, 1.248482562, 1.259472701, 1.270512641, 1.281603293, 1.292745593, 1.303940495, 1.315188979, 1.326492045, 1.337850722, 1.34926606, 1.360739136, 1.372271056, 1.383862952, 1.395515984, 1.407231344, 1.419010254, 1.430853969, 1.442763776, 1.454740997, 1.466786991, 1.478903153, 1.491090916, 1.503351756, 1.515687189, 1.528098773, 1.540588114, 1.553156863, 1.565806722, 1.578539441, 1.591356825, 1.604260735, 1.617253088, 1.630335861, 1.643511096, 1.656780899, 1.670147444, 1.683612978, 1.697179821, 1.710850373, 1.724627116, 1.738512617, 1.752509532, 1.766620613, 1.780848711, 1.79519678, 1.809667883, 1.824265198, 1.838992023, 1.853851784, 1.868848041, 1.883984493, 1.899264988, 1.914693532, 1.930274296, 1.946011626, 1.961910052, 1.977974301, 1.99420931, 2.010620232, 2.027212456, 2.043991621, 2.060963628, 2.07813466, 2.095511201, 2.113100054, 2.130908365, 2.148943643, 2.16721379, 2.185727128, 2.204492428, 2.223518944, 2.242816453, 2.26239529, 2.282266397, 2.30244137, 2.322932514, 2.3437529, 2.364916435, 2.386437935, 2.408333204, 2.43061913, 2.453313782, 2.476436532, 2.500008177, 2.524051092, 2.54858939, 2.573649112, 2.599258443, 2.625447954, 2.652250883, 2.679703464, 2.707845298, 2.73671979, 2.766374662, 2.796862552, 2.828241722, 2.8605769, 2.893940289, 2.92841278, 2.964085421, 3.001061222, 3.039457369, 3.079407996, 3.121067661, 3.164615777, 3.210262325, 3.258255319, 3.308890724, 3.362525865, 3.41959793, 3.480650075, 3.546369298, 3.617643083, 3.695647381, 3.781989534, 3.878953854, 3.989954774, 4.120456156, 4.2801022, 4.48878536, 4.80197961,
共511个,将数轴划分为512段。

一下是量化输出:
-4.995160776, -4.608798084, -4.368772256, -4.191431749, -4.049480156, -3.930428974, -3.827478306, -3.736500325, -3.654793992, -3.580491722, -3.512246415, -3.449053271, -3.390142118, -3.334909137, -3.282871829, -3.233638322, -3.186885837, -3.142345221, -3.0997896, -3.059025887, -3.019888341, -2.982233589, -2.945936737, -2.910888302, -2.876991752, -2.84416152, -2.812321393, -2.781403178, -2.751345609, -2.72209343, -2.693596622, -2.66580976, -2.638691457, -2.612203898, -2.586312433, -2.560985233, -2.536192986, -2.511908636, -2.488107154, -2.464765342, -2.441861653, -2.419376035, -2.3972898, -2.375585494, -2.354246798, -2.333258422, -2.312606024, -2.292276133, -2.272256076, -2.252533917, -2.2330984, -2.213938898, -2.195045366, -2.176408297, -2.158018688, -2.139868001, -2.121948131, -2.104251379, -2.086770424, -2.069498296, -2.052428358, -2.035554281, -2.018870027, -2.002369831, -1.986048183, -1.969899814, -1.953919683, -1.938102961, -1.922445023, -1.906941433, -1.891587934, -1.876380442, -1.861315031, -1.846387928, -1.831595507, -1.816934277, -1.802400878, -1.787992072, -1.77370474, -1.759535876, -1.745482577, -1.731542045, -1.717711577, -1.70398856, -1.690370472, -1.676854873, -1.663439405, -1.650121784, -1.6368998, -1.623771314, -1.610734253, -1.597786609, -1.584926435, -1.572151841, -1.559460997, -1.546852125, -1.534323499, -1.521873444, -1.509500332, -1.49720258, -1.484978653, -1.472827054, -1.460746331, -1.448735068, -1.436791889, -1.424915455, -1.413104461, -1.401357636, -1.389673742, -1.378051573, -1.366489953, -1.354987735, -1.343543801, -1.332157061, -1.32082645, -1.309550929, -1.298329484, -1.287161126, -1.276044887, -1.264979823, -1.25396501, -1.242999546, -1.23208255, -1.221213159, -1.21039053, -1.199613838, -1.188882276, -1.178195054, -1.167551399, -1.156950555, -1.146391781, -1.13587435, -1.125397552, -1.11496069, -1.104563083, -1.09420406, -1.083882967, -1.073599159, -1.063352008, -1.053140893, -1.042965208, -1.032824359, -1.02271776, -1.012644838, -1.00260503, -0.992597784, -0.982622555, -0.972678812, -0.962766029, -0.952883693, -0.943031298, -0.933208345, -0.923414346, -0.913648822, -0.903911298, -0.89420131, -0.884518401, -0.874862121, -0.865232027, -0.855627683, -0.846048661, -0.836494538, -0.826964898, -0.817459332, -0.807977437, -0.798518815, -0.789083074, -0.77966983, -0.770278702, -0.760909314, -0.751561298, -0.742234289, -0.732927928, -0.723641861, -0.714375737, -0.705129213, -0.695901947, -0.686693603, -0.677503851, -0.668332362, -0.659178813, -0.650042886, -0.640924265, -0.631822638, -0.622737697, -0.613669139, -0.604616663, -0.595579972, -0.586558772, -0.577552773, -0.568561688, -0.559585233, -0.550623126, -0.541675089, -0.532740849, -0.523820132, -0.514912669, -0.506018193, -0.49713644, -0.488267149, -0.47941006, -0.470564917, -0.461731466, -0.452909454, -0.444098633, -0.435298753, -0.426509571, -0.417730843, -0.408962327, -0.400203785, -0.391454978, -0.382715671, -0.373985631, -0.365264626, -0.356552425, -0.3478488, -0.339153523, -0.33046637, -0.321787116, -0.313115538, -0.304451417, -0.295794532, -0.287144664, -0.278501597, -0.269865115, -0.261235003, -0.252611048, -0.243993038, -0.23538076, -0.226774006, -0.218172565, -0.209576229, -0.200984791, -0.192398045, -0.183815785, -0.175237805, -0.166663902, -0.158093873, -0.149527514, -0.140964624, -0.132405001, -0.123848445, -0.115294754, -0.10674373, -0.098195172, -0.089648882, -0.081104662, -0.072562312, -0.064021636, -0.055482436, -0.046944515, -0.038407674, -0.029871719, -0.021336451, -1.28E-02, -0.004267192, 0.004267192, 0.012801674, 0.021336451, 0.029871719, 0.038407674, 0.046944515, 0.055482436, 0.064021636, 0.072562312, 0.081104662, 0.089648882, 0.098195172, 0.10674373, 0.115294754, 0.123848445, 0.132405001, 0.140964624, 0.149527514, 0.158093873, 0.166663902, 0.175237805, 0.183815785, 0.192398045, 0.200984791, 0.209576229, 0.218172565, 0.226774006, 0.23538076, 0.243993038, 0.252611048, 0.261235003, 0.269865115, 0.278501597, 0.287144664, 0.295794532, 0.304451417, 0.313115538, 0.321787116, 0.33046637, 0.339153523, 0.3478488, 0.356552425, 0.365264626, 0.373985631, 0.382715671, 0.391454978, 0.400203785, 0.408962327, 0.417730843, 0.426509571, 0.435298753, 0.444098633, 0.452909454, 0.461731466, 0.470564917, 0.47941006, 0.488267149, 0.49713644, 0.506018193, 0.514912669, 0.523820132, 0.532740849, 0.541675089, 0.550623126, 0.559585233, 0.568561688, 0.577552773, 0.586558772, 0.595579972, 0.604616663, 0.613669139, 0.622737697, 0.631822638, 0.640924265, 0.650042886, 0.659178813, 0.668332362, 0.677503851, 0.686693603, 0.695901947, 0.705129213, 0.714375737, 0.723641861, 0.732927928, 0.742234289, 0.751561298, 0.760909314, 0.770278702, 0.77966983, 0.789083074, 0.798518815, 0.807977437, 0.817459332, 0.826964898, 0.836494538, 0.846048661, 0.855627683, 0.865232027, 0.874862121, 0.884518401, 0.89420131, 0.903911298, 0.913648822, 0.923414346, 0.933208345, 0.943031298, 0.952883693, 0.962766029, 0.972678812, 0.982622555, 0.992597784, 1.00260503, 1.012644838, 1.02271776, 1.032824359, 1.042965208, 1.053140893, 1.063352008, 1.073599159, 1.083882967, 1.09420406, 1.104563083, 1.11496069, 1.125397552, 1.13587435, 1.146391781, 1.156950555, 1.167551399, 1.178195054, 1.188882276, 1.199613838, 1.21039053, 1.221213159, 1.23208255, 1.242999546, 1.25396501, 1.264979823, 1.276044887, 1.287161126, 1.298329484, 1.309550929, 1.32082645, 1.332157061, 1.343543801, 1.354987735, 1.366489953, 1.378051573, 1.389673742, 1.401357636, 1.413104461, 1.424915455, 1.436791889, 1.448735068, 1.460746331, 1.472827054, 1.484978653, 1.49720258, 1.509500332, 1.521873444, 1.534323499, 1.546852125, 1.559460997, 1.572151841, 1.584926435, 1.597786609, 1.610734253, 1.623771314, 1.6368998, 1.650121784, 1.663439405, 1.676854873, 1.690370472, 1.70398856, 1.717711577, 1.731542045, 1.745482577, 1.759535876, 1.77370474, 1.787992072, 1.802400878, 1.816934277, 1.831595507, 1.846387928, 1.861315031, 1.876380442, 1.891587934, 1.906941433, 1.922445023, 1.938102961, 1.953919683, 1.969899814, 1.986048183, 2.002369831, 2.018870027, 2.035554281, 2.052428358, 2.069498296, 2.086770424, 2.104251379, 2.121948131, 2.139868001, 2.158018688, 2.176408297, 2.195045366, 2.213938898, 2.2330984, 2.252533917, 2.272256076, 2.292276133, 2.312606024, 2.333258422, 2.354246798, 2.375585494, 2.3972898, 2.419376035, 2.441861653, 2.464765342, 2.488107154, 2.511908636, 2.536192986, 2.560985233, 2.586312433, 2.612203898, 2.638691457, 2.66580976, 2.693596622, 2.72209343, 2.751345609, 2.781403178, 2.812321393, 2.84416152, 2.876991752, 2.910888302, 2.945936737, 2.982233589, 3.019888341, 3.059025887, 3.0997896, 3.142345221, 3.186885837, 3.233638322, 3.282871829, 3.334909137, 3.390142118, 3.449053271, 3.512246415, 3.580491722, 3.654793992, 3.736500325, 3.827478306, 3.930428974, 4.049480156, 4.191431749, 4.368772256, 4.608798084, 4.995160776,

量化后的MSE为1.033795e-05

你可能感兴趣的:(正态分布 量化)