import torch
import torch.nn as nn
model = nn.Sequential(nn.Linear(10, 64), nn.ReLU(), nn.Linear(64, 1))
optimizer = torch.optim.Adam(model.parameters())PyTorch Overview
Meta's deep learning framework, known for its Pythonic, dynamic-graph style that's popular in research and increasingly in production.