tf.slice | TensorFlow Core v2.7.0
www.tensorflow.org › api_docs › pythonSee also tf.strided_slice. This operation extracts a slice of size size from a tensor input_ starting at the location specified by begin. The slice size is represented as a tensor shape, where size [i] is the number of elements of the 'i'th dimension of input_ that you want to slice. The starting location ( begin) for the slice is represented ...