How to apply different activation fuctions to different neurons

thanks for reply, i will try your advise. but i am a new pytorch user, if you can tell me the code, it will be more convinent, anyhow , thanks.