Since we already have Variable class in pytorch, which can track the gradients automatically. If we want to customize a layer, just inherent from nn.Module, and implement forward(), the backward() is automatically done.
In which case, we need to implement backward() as showed in torch extension part of official docs? As far as I understand, if you store your weight in Variable, you do not  have to do anything wrt. backward. Is there anything i missing?