I downloaded the c++ preview build of pytorch and am trying to do multiple indexing via the [] operator:
in python it would be:
data = torch.rand(3,3,3)
data[tensor([0,1]), tensor([1,2])]
Anyone know the syntax for this functionality in C++? in C++ the [] operator only supports a single int.