Skip to content

tensorflow

  • import tensorflow
import tensorflow as tf
  • import keras from tensorflow
from tensorflow import keras
  • generate different types of images from given images
from tensorflow.keras.preprocessing.image import ImageDataGenerator