包含机器学习中使用的所有自定义和sota数学后端算法的python包。

echoA的Python项目详细描述


Donate

回声ai

包含机器学习中使用的所有数学后端算法的python包。 提供了echo的完整文档here

目录

关于

echo ai包的创建是为了提供最有前途的数学算法的实现,而这些算法在最流行的深度学习库(如PyTorchKeras)和 TensorFlow

激活功能

该包包含以下激活函数的实现(实现的函数,即将实现的函数,:white_large_square:-函数在原始的deep learning包中实现):

#FunctionEquationKerasPyTorchTensorFlow-KerasTensorFlow - Core
1Weighted Tanhequation✅✅✅🕑
2Swishequation✅✅✅🕑
3ESwishequation✅✅✅🕑
4Aria2equation✅✅✅🕑
5ELiSHequation✅✅✅🕑
6HardELiSHequation✅✅✅🕑
7Milaequation✅✅✅🕑
8SineReLUequation✅✅✅🕑
9Flatten T-Swishequation✅✅✅🕑
10SQNLequation✅✅✅🕑
11ISRUequation✅✅✅🕑
12ISRLUequation✅✅✅🕑
13Bent's identityequation✅✅✅🕑
14Soft Clippingequation✅✅✅🕑
15SReLUequation✅✅✅🕑
15BReLUequation🕑✅✅🕑
16APLequation🕑✅✅🕑
17Soft Exponentialequation✅✅✅🕑
18Maxoutequation🕑✅✅🕑
19Mishequation✅✅✅🕑
20Beta Mishequation✅✅✅🕑
21RReLUequation🕑⬜🕑🕑
22CELUequation✅⬜✅🕑
23ReLU6equation✅⬜🕑🕑
24HardTanhequation✅⬜✅🕑
25GLUequation🕑⬜🕑🕑
26LogSigmoidequation✅⬜✅🕑
27TanhShrinkequation✅⬜✅🕑
28HardShrinkequation✅⬜✅🕑
29SoftShrinkequation✅⬜✅🕑
30SoftMinequation✅⬜✅🕑
31LogSoftmaxequation✅⬜✅🕑
32Gumbel-Softmax🕑⬜🕑🕑

存储库结构

存储库具有以下结构:

-echoAI# main package directory|-Activation# sub-package containing activation functions implementation||-Torch# sub-package containing implementation for PyTorch|||-functional.py# script which contains implementation of activation functions|||-weightedTanh.py# activation functions wrapper class for PyTorch|||-...# PyTorch activation functions wrappers||-Keras# sub-package containing implementation for Keras|||-custom_activations.py# script which contains implementation of activation functions||-TF_Keras# sub-package containing implementation for Tensorflow-Keras|||-custom_activation.py# script which contains implementation of activation functions|-__init__.py-Observations# Folder containing other assets-docs# Sphinx documentation folder-LICENSE# license file-README.md-setup.py# package setup file-Smoke_tests# folder, which contains scripts with demonstration of activation functions usage-Unit_tests# folder, which contains unit test scripts

设置说明

要从pypi安装echoai包,请运行以下命令:

$ pip install echoAI

代码示例:

示例脚本在Smoke_tests文件夹中提供。 您可以使用Echoai的激活功能,简单如下:

# import PyTorchimporttorch# import activation function from echoAIfromechoAI.Activation.Torch.mishimportMish# apply activation functionmish=Mish()t=torch.tensor(0.1)t_mish=mish(t)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java不可访问配置设计   在java中使用json就像在javascript中一样   java如何屏蔽Android 4.0主密钥   java为什么clickable的预期条件不执行click()?   Azure事件中心:Kafka消费者在java中不轮询任何内容   javajaxb和enum实现接口   java如何在标记下添加ProgressBar和按钮   java如何为对象实现arrayList   使用多重匹配重载java构造方法重载   java使用for循环和if语句搜索帐户   java JPanel在JPanel中添加了顶部填充   IntelliJ将Java项目/模块转换为Maven项目/模块   java如何迭代arraylist中的arraylist   自定义类的java“找不到符号”错误