Correct checks for Tensor::SubSlice() and Tensor::Slice() method accordingly to documentation and SubBuffer() checks (reopened #59266)
There are too many failures with this change.  It looks like we do rely on the assumption that taking a subslice past the end returns an empty slice.  Maybe removing the check on `start` will reduce the number of failures?  Otherwise we need to fix all the affected tests. Hi @avoskoboinyk-lohika Any update on this PR? Please. Thank you! This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
This is a reopened https://github.com/tensorflow/tensorflow/pull/59266 with comment fixes applied.