Solved by glaringlee in post #2 
              
              
                @almeetb 
‘https://github.com/pytorch/pytorch/blob/3c66a3795a58a3866daf6dd9b26d67eded4d5982/aten/src/ATen/native/Copy.cpp#L106’ 
See comments