VanillaNet icon indicating copy to clipboard operation
VanillaNet copied to clipboard

leakyrelu

Open adduu345 opened this issue 1 year ago • 0 comments

We use leakyrelu to implement the deep training technique.

x = torch.nn.functional.leaky_relu(x,self.act_learn)

这行代码,self.act_learn=1, 相当于不做激活, 它的作用仅仅是将网络变深吗?

adduu345 avatar Nov 22 '23 07:11 adduu345