"""Provides keras data preprocessing utils to pre-process tf.data.Datasets before they are fed to the model."""
from keras import backend
from keras.preprocessing import image
from keras.preprocessing import sequence
from keras.preprocessing import text
from keras.preprocessing import timeseries
from keras.utils import all_utils as utils

from keras import backend
from keras.preprocessing import image
from keras.preprocessing import sequence
from keras.preprocessing import text
from keras.preprocessing import timeseries
from keras.utils import all_utils as utils

Add a toplevel warning against legacy keras.preprocessing utilities
Add a toplevel warning against legacy keras.preprocessing utilities

PiperOrigin-RevId: 434866390

- """Provides keras data preprocessing utils to pre-process tf.data.Datasets before they are fed to the model."""
  from keras import backend
  from keras.preprocessing import image
  from keras.preprocessing import sequence
  from keras.preprocessing import text
  from keras.preprocessing import timeseries
  from keras.utils import all_utils as utils
  
Add a toplevel warning against legacy keras.preprocessing utilities
## Code Before:
"""Provides keras data preprocessing utils to pre-process tf.data.Datasets before they are fed to the model."""
from keras import backend
from keras.preprocessing import image
from keras.preprocessing import sequence
from keras.preprocessing import text
from keras.preprocessing import timeseries
from keras.utils import all_utils as utils

## Instruction:
Add a toplevel warning against legacy keras.preprocessing utilities
## Code After:
from keras import backend
from keras.preprocessing import image
from keras.preprocessing import sequence
from keras.preprocessing import text
from keras.preprocessing import timeseries
from keras.utils import all_utils as utils
