I’m trying to replicate the following Python code in the PyTorch C++ frontend:
value = torch::rand({2, 2, 4});
value = value[0, :1, ...]

I’m not sure how this’d look like if I’m using tensor.narrow() or tensor.select()