torch
Package — Deep LearningPython 3.8+Advanced
PyTorch: dynamic neural networks with GPU acceleration by Meta
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.8+
- Dependencies
- sympy, networkx, jinja2, filelock, typing-extensions, fsspec
- Install
pip install torch
Learn by Difficulty
Quick Example
python
# Install: pip install torch import torch # Basic torch usage print(f"Using torch") # See documentation for detailed examples
torch is a third-party package. PyTorch: dynamic neural networks with GPU acceleration by Meta. Install with: pip install torch
Try in PlaygroundTags
packagedeep-learningneural-networkgputensordatatype
Related Items
tensorflow
Package — Deep Learning
End-to-end ML platform by Google: neural networks, TPU support
keras
Package — Deep Learning
High-level neural network API; multi-backend (TF, PyTorch, JAX)
torchvision
Package — Vision
PyTorch datasets, architectures, transforms for computer vision
lightning
Package — Deep Learning
PyTorch Lightning: structured deep learning training framework
transformers
Package — Deep Learning
Hugging Face: state-of-the-art NLP/vision/audio models (BERT, GPT, etc.)
numpy
Package — Data Science
N-dimensional arrays, vectorized math, linear algebra, FFT