Caffe2 - Python API
A deep learning, cross platform ML framework
test.py
1 import torch
2 
3 x = torch.ones((3, 3), requires_grad=True)
4 (3 * x).sum().backward()