Is tensor data type is same in PyTorch and TensorFlow?
TensorFlow provides only float32 but Pytorch seems to provide both float32 and float64(double).
If you use float64 in PyTorch, it is normal that the allocated memory is as twice as TensorFlow.