keras/src/trainers/data_adapters/array_slicing.py/TensorflowSliceable/convert_to_numpy
class TensorflowSliceable:    def convert_to_numpy(cls, x):
        from keras.src.backend.tensorflow.core import convert_to_numpy

        return convert_to_numpy(x)