diff --git a/source/machine-learning/pytorch.md b/source/machine-learning/pytorch.md new file mode 100644 index 0000000..c68c127 --- /dev/null +++ b/source/machine-learning/pytorch.md @@ -0,0 +1,5 @@ +# PyTorch + +## Commands + +- [torch.Tensor.item()](https://pytorch.org/docs/stable/generated/torch.Tensor.item.html): convert tensor to standard Python number - only works for tensors with one element