Transfer python assertion in PReLU to c++ (#6261)
* removed assertion for PReLU, need to put the assertion in c implementation * added assertion in PReLU for parameter validation * modifications based on review * removed inheritance relation based on review * formatted code * moved a helper function to anonymous namespace * format code Co-authored-by: NYao Chi <later@usopp.net> Co-authored-by: Noneflow-ci-bot <69100618+oneflow-ci-bot@users.noreply.github.com>
Showing
想要评论请 注册 或 登录