While trying indexing with c++ with the code below,the compiler reports error: ‘indexing’ is not a namespace-name
#include <torch/torch.h>
#include <torch/script.h>
#include <vector>
#include <torch/nn/cloneable.h>
#include <torch/nn/pimpl.h>
#include <torch/types.h>
#include <ATen/ATen.h>
#include <torch/csrc/autograd/generated/Functions.h>
#include <cmath>
using namespace torch::indexing;
int main()
{
return 0;
}