//make shape of the input known
shape = self.inputs["Input"].shape
//get N-D coordinate out of slice
ostart, ostop = sliceToRoi(key, shape)
//copy original array
rstart, rstop = ostart.copy(), ostop.copy()
After Change
//make shape of the input known
shape = self.inputs["Input"].shape
//get N-D coordinate out of slice
rstart, rstop = sliceToRoi(key, shape)
//shift the reading scope
rstart -= self.shift