Simple Linear regression with pytorch from scratch

In this simple code we use pytorch fundamental tensors. we do not use neural network module (It can be done by simple numpy library too).