python开源系列文章
- 开源Python-单元测试
- 开源python-文档撰写
- 开源python-代码规范与检查
- 开源python-打包发布
- 开源python-自动集成
- 开源python-向transformers学习
- 开源python-向timm学习
- 开源python-向tensorflow-addons学习
- 开源python-向mmdetection学习
- 开源python-向tytorch学习
tensorflow-addons
https://github.com/tensorflow/addons
建议一开始就仔细阅读其如何为其开源做贡献
然后也给出了layer,loss, optimizer, metrics等做贡献的参考指南
- layers
- losses
- metrics
- It inherits from the tf.keras.metrics.Metric class.
- Overrides the update_state(), result(), and reset_state() methods.
- Implements a get_config() method.
主体
部分op(custom_ops)采用C语言写的
测试
由于深度学习的特点,里面用了很多装饰器用法,借此在多个环境中测试
- 例如cpu gpu 多gpu
- 例如eager mode, graph