Question Description:
Explain why PyTorch is not included by default with Python and why it needs to be installed separately. Focus on hardware support (CPU/GPU), performance, and deep learning–specific features.
Sample Input:
Using Python for deep learning
Sample Output:
PyTorch is a specialized deep learning library that provides GPU acceleration and automatic differentiation, which standard Python does not include.
Question Description:
Explain how you would confirm that PyTorch is installed correctly and accessible in your Python environment.
Sample Input:
import torch
Sample Output:
If no error occurs and torch.version prints correctly, PyTorch is installed.
Question Description: