Overload for Tensor.__getitem__. This operation extracts the specified region from the tensor. The notation is similar to NumPy with the restriction that currently only support basic indexing. That means that using a tensor as input is not currently allowed Some useful examples: ```py
(tensor, slice_spec, var=None)
source not stored for this graph (policy: none)
no test coverage detected