# Copyright © 2026 Christopher Snow.
# This displayed PyTorch example checks values on the CPU; it does not measure GPU time.
import torch
logits = torch.tensor([
    [-2.0, 0.0, 1.0],
    [1000.0, 1002.0, 1003.0],
])
y = torch.softmax(logits, dim=1)
print(y)
