torch.Tensor([value]) | # Define a tensor |
torch.randn(value_1, value_2. . .) | # Define a matrix with random values |
torch.autograd | # For automatic differentiation |
torch.optim | # Implement optimization algorithms |
torch.nn | # Neural network layer (sequential, linear, etc.) |