How can I implement a dynamic parameter in Linear Layer by using pytorch?

I implemented your suggestion but the output shape does not change

1 Like