PyTorch Forums
Creating NN with pytorch and assign weights and biases manually
ptrblck
January 15, 2024, 5:59pm
9
x = torch.tensor([[5.]])
should work.
show post in topic