From 01a61fbdc75917df22583d4e445c63703af9de8a Mon Sep 17 00:00:00 2001 From: QKeras robot Date: Fri, 6 Mar 2020 10:39:01 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 299386814 Change-Id: I6208f7a03b4d9a2863116cfa1b0b024a3893d070 --- examples/example_mnist_bn.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/example_mnist_bn.py b/examples/example_mnist_bn.py index 293dae04..540b2aae 100644 --- a/examples/example_mnist_bn.py +++ b/examples/example_mnist_bn.py @@ -21,17 +21,18 @@ from __future__ import division from __future__ import print_function -import os from collections import defaultdict +import os -import tensorflow.keras.backend as K +import numpy as np +from six.moves import zip from tensorflow.keras import callbacks +import tensorflow.keras.backend as K from tensorflow.keras.datasets import mnist from tensorflow.keras.layers import * from tensorflow.keras.models import Model from tensorflow.keras.optimizers import * from tensorflow.keras.utils import to_categorical -import numpy as np from qkeras import *