How pytorch support python [] (__getitem__) ops backpropogation? - C++ ...

How pytorch support python [] (__getitem__) ops backpropogation? - C++ ...