Created by: qili93
PR types
Others
PR changes
APIs
Describe
新增/修改如下2.0 API:
ELU:
- paddle.nn.ELU(alpha=1.0, name=None) - 新增此class
- paddle.nn.functional.elu(x, alpha=1.0, name=None) - 新增此function
GELU
- paddle.nn.GELU(alpha=1.0, name=None) - 新增此class
- paddle.nn.functional.gelu(x, approximate=False, name=None) - 新增此function,参数approximate保留
ReLU
- paddle.nn.ReLU(name=None) - 保持,删除alias, 删除inplace, input改为x,
- paddle.nn.functional.relu(x, alpha=1.0, name=None) - 删除inplace,input改为x,完善文档改用动态图demo
LogSigmoid
- paddle.nn.LogSigmoid(name=None) - 新增此class
- paddle.nn.functional.logsigmoid(x, name=None) - 新增此function