update document template for unary elementwise layers (#25896)
1. update document template for unary elementwise layers(a.k.a. activation layer); 2. remove generate_op_noattr and use generate_activation instead; remove redundant function copies; 3. minor update for docstring to fix rst format errors. 4. fix doc for Rsqrt OP 5. add sample code for each activation separately; 6. remove the unused deprecated decorator.
Showing
想要评论请 注册 或 登录