Skip to content

Commit da8d9d9

Browse files
committed
disable eager execution
Signed-off-by: Arunabh <[email protected]>
1 parent b816b63 commit da8d9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/mnist_poison_detection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
import pprint
77
import json
8+
import tensorflow as tf
89

10+
tf.compat.v1.disable_eager_execution()
911
from keras.models import Sequential
1012
from keras.layers import Dense, Flatten, Conv2D, MaxPooling2D, Dropout
1113
import numpy as np

0 commit comments

Comments
 (0)