easytorch:基于Python的numpy实现的简易深度学习框架,包括自动求导、优化器、layer等的实现

上传者: 42117116 | 上传时间: 2023-05-15 20:47:00 | 文件大小: 35KB | 文件类型: ZIP
easytorch 使用Python的numpy实现的简易深度学习框架,API与pytorch基本相同,实现了自动求导、基础优化器、layer等。 1 文档目录 2 Quick Start from easytorch.layer import Linear, Tanh, Sequential from easytorch.optim import SGD import easytorch.functional as F # Create a model, optimizer, loss function model = Sequential( Linear(1, 5), Tanh(), Linear(5, 1) ) opt = SGD(model.parameters(), lr=3e-4) loss_fn = F.mse_loss # train the mod

文件下载

资源详情

[{"title":"( 14 个子文件 35KB ) easytorch:基于Python的numpy实现的简易深度学习框架,包括自动求导、优化器、layer等的实现","children":[{"title":"easytorch-main","children":[{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"doc","children":[{"title":"1自动求导基础运算实现.md <span style='color:#111;'> 4.00KB </span>","children":null,"spread":false},{"title":"3损失函数.md <span style='color:#111;'> 514B </span>","children":null,"spread":false},{"title":"2优化器.md <span style='color:#111;'> 2.07KB </span>","children":null,"spread":false},{"title":"4layer的实现.md <span style='color:#111;'> 700B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1024B </span>","children":null,"spread":false},{"title":"example","children":[{"title":"FunctionApproximation.ipynb <span style='color:#111;'> 18.01KB </span>","children":null,"spread":false},{"title":"Predict.ipynb <span style='color:#111;'> 14.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"easytorch","children":[{"title":"tensor.py <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false},{"title":"functional.py <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"layer.py <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"optim.py <span style='color:#111;'> 3.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"test_optim.py <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"test_tensor.py <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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