< Back

Env

import torch

\( \mathbf{x} \in \mathbb{R}^n \)


vector

x = torch.arange(4)
x
tensor([0, 1, 2, 3])