Hello,
I’m trying to replicate nn.L1Penalty net in pytorch just like line 89 in https://github.com/cvondrick/videogan/blob/master/main.lua 51
I’ve read that I can add L1 loss in the network. But in this case, it is too complicated. Can anybody suggest me how to add L1 layer at some part of the network?
Thanks