import tensorflow as tf import tensorflow.keras as keras from tensorflow.keras import layers from tensorflow.keras.utils import plot_model, to_categorical