包含机器学习中使用的所有自定义和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 ParsePushReceiver参数   java如何从设备读取完整数据?   java将java_设置为home,但忽略错误   java如何从歌曲中对专辑进行排序?   java libnaude+windows 10 x64+Eclipse   java如何将maven目标更改为如图所示的想法中的quickicon?   java swing布局中心面板,可滚动显示多个窗口窗格   使用MOSQUITO代理的mqtt中的java SSL   java如何通过属性值获取XML字符串   java在服务器每次启动时停止GWT编译   java如何让javac搜索类路径的子目录?   可以比较java中的两个不同类吗?   JAVAAndroid活动内部类中的lang.NoClassDefFoundError   java HttpServletRequest获取请求头参数块   C++socket与java客户端的连接   java如何在Apache commons http客户端上使用SSL客户端证书   使用预编译正则表达式模式提高java速度   JavaRhino将两个已编译脚本合并为一个脚本