Hi, the negative_slope is a constant as input not learnable parameters. If you want to implement  a ReLU function with learnable parameters, you can refer to PReLU, for example: https://medium.com/@shoray.goel/prelu-activation-e294bb21fefa 4
Hope it can help you!