This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Script to illustrate usage of tf.estimator.Estimator in TF v2.3.0""" | |
import numpy as np | |
import tensorflow as tf | |
from tensorflow import keras | |
from tensorflow.keras import layers | |
# Show debugging output | |
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.DEBUG) | |
# Set default flags for the output directories |