tensorflow_tutorials/deep_mnist/deep_mnist.py
def check_accuracy(self, test_data, session):
        """Return the accuracy of the model compared with the data."""
        return session.run(self.accuracy, feed_dict={
            self.inputs: test_data.images,
            self.distribution: test_data.labels,
            self.keep_prob: 1.0
        })
Return the accuracy of the model compared with the data.
Return the accuracy of the model compared with the data.
Return the accuracy of the model compared with the data .
def check_accuracy(self, test_data, session):
        return session.run(self.accuracy, feed_dict={
            self.inputs: test_data.images,
            self.distribution: test_data.labels,
            self.keep_prob: 1.0
        })
def check_accuracy ( self , test_data , session ) : return session . run ( self . accuracy , feed_dict = { self . inputs : test_data . images , self . distribution : test_data . labels , self . keep_prob : 1.0 } )
Return the accuracy of the model compared with the data.
Return the accuracy of the model compared with the data .
"""Return the accuracy of the model compared with the data."""
self
test_data
session