pytorch框架下模型的LSTM层的自定义量化

上传者: kuan__ | 上传时间: 2021-05-31 13:01:22 | 文件大小: 469KB | 文件类型: ZIP
这个文件是pytorch框架下,对模型LSTM层权值的对数量化,相关表述参考这篇博客: https://blog.csdn.net/kuan__/article/details/112426594,直接运行工程中的main.py文件,可得到量化后的权值。

文件下载

资源详情

[{"title":"( 30 个子文件 469KB ) pytorch框架下模型的LSTM层的自定义量化","children":[{"title":"LSTM5.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"LSTM9.py <span style='color:#111;'> 4.21KB </span>","children":null,"spread":false},{"title":"LSTM4.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"LSTM8.py <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"main.py <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":"modules.py <span style='color:#111;'> 19.60KB </span>","children":null,"spread":false},{"title":"LSTM6.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"LSTM2.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"modules.cpython-37.pyc <span style='color:#111;'> 15.23KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 6.54KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 194B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 309B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":false},{"title":"pytorch-LSTM-quantization.iml <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":true},{"title":"LSTM0.py <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"LSTM3.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"LSTM7.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"LSTM1.py <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"save","children":[{"title":"weight_ch.pt <span style='color:#111;'> 513.19KB </span>","children":null,"spread":false},{"title":"weight_oh.pt <span style='color:#111;'> 513.19KB </span>","children":null,"spread":false},{"title":"weight_fx.pt <span style='color:#111;'> 201.12KB </span>","children":null,"spread":false},{"title":"weight_fh.pt <span style='color:#111;'> 513.19KB </span>","children":null,"spread":false},{"title":"LSTM.pt <span style='color:#111;'> 13.44KB </span>","children":null,"spread":false},{"title":"weight_ox.pt <span style='color:#111;'> 201.12KB </span>","children":null,"spread":false},{"title":"weight_cx.pt <span style='color:#111;'> 201.12KB </span>","children":null,"spread":false},{"title":"weight_ix.pt <span style='color:#111;'> 201.12KB </span>","children":null,"spread":false},{"title":"bias.pt <span style='color:#111;'> 5.83KB </span>","children":null,"spread":false},{"title":"weight_ih.pt <span style='color:#111;'> 513.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • lxhdy12345 :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-09-03

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明