e1f6a3630485309055a3ef681cd50c87376f7cb3,cleverhans_tutorials/mnist_tutorial_keras_tf.py,,mnist_tutorial,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,41
Before Change
if keras.backend.image_dim_ordering() != "tf":
keras.backend.set_image_dim_ordering("tf")
print("INFO: "~/.keras/keras.json" sets "image_dim_ordering" to "
""th", temporarily setting to "tf"")
// Create TF session and set as Keras backend session
sess = tf.Session()
keras.backend.set_session(sess)
After Change
tf.set_random_seed(1234)
if keras.backend.image_data_format() != "channels_last":
raise NotImplementedError("this tutorial requires keras to be configured to channels_last format")
// Create TF session and set as Keras backend session
sess = tf.Session()
keras.backend.set_session(sess)
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 3
Instances
Project Name: tensorflow/cleverhans
Commit Name: e1f6a3630485309055a3ef681cd50c87376f7cb3
Time: 2019-01-08
Author: goodfellow@google.com
File Name: cleverhans_tutorials/mnist_tutorial_keras_tf.py
Class Name:
Method Name: mnist_tutorial
Project Name: stellargraph/stellargraph
Commit Name: 98611fa50a2929757207121f440dad6651265e47
Time: 2019-06-24
Author: andrew.docherty@data61.csiro.au
File Name: stellargraph/utils/saliency_maps/saliency.py
Class Name: GradientSaliency
Method Name: __init__
Project Name: nicodv/kmodes
Commit Name: bbeebd26abdd2ca6f03bcde5c4045b0b74e3821e
Time: 2016-06-16
Author: nico.devos@autogrid.com
File Name: kmodes/kprototypes.py
Class Name:
Method Name: k_prototypes
Project Name: SheffieldML/GPy
Commit Name: 8b9d5d8f72f8470759d0920915b6547042686066
Time: 2016-06-13
Author: lionfishy@gmail.com
File Name: GPy/kern/src/integral_limits.py
Class Name: Integral_Limits
Method Name: update_gradients_full
Project Name: tensorflow/cleverhans
Commit Name: 39119678358854a5f5d8166e968cb46fc30997fb
Time: 2016-09-15
Author: goodfellow.ian@gmail.com
File Name: cleverhans/attacks.py
Class Name:
Method Name: fgsm
Project Name: SheffieldML/GPy
Commit Name: 8b9d5d8f72f8470759d0920915b6547042686066
Time: 2016-06-13
Author: lionfishy@gmail.com
File Name: GPy/kern/src/integral.py
Class Name: Integral
Method Name: update_gradients_full
Project Name: Kamnitsask/deepmedic
Commit Name: 3fcaf667427b39f2a307e783890daf4125d2ab23
Time: 2019-01-17
Author: konstantinos.kamnitsas12@imperial.ac.uk
File Name: deepmedic/frontEnd/session.py
Class Name: Session
Method Name: make_output_folders
Project Name: SheffieldML/GPy
Commit Name: 8b9d5d8f72f8470759d0920915b6547042686066
Time: 2016-06-13
Author: lionfishy@gmail.com
File Name: GPy/kern/src/multidimensional_integral_limits.py
Class Name: Multidimensional_Integral_Limits
Method Name: update_gradients_full