Solved by stefanonardo in post #2 
              
              
                https://github.com/pytorch/pytorch/blob/master/torch/nn/functional.py 
At line 1553 you can see the code for a pointwise loss. Then yes, it is the same if size_average is true.