Is there an analog to numpy.delete where I could just delete a row or column from a 2-mode tensor?
Unlike the following answers that filter by the content of the array
- Removing certain rows from tensor in tensorflow without using tf.RaggedTensor
- How to delete rows in a tensor with tensorflow?
I want to simply delete certain rows and columns by providing indices.