If you’ve built PyTorch from source and the installation was successful, you should be able to execute python and import torch in it (or use your favorite IDE to write PyTorch code). 
Let me know, if you get stuck somewhere.