parameters: (self, y)
return_statement: return tf.reduce_mean(tf.cast(correct_pred, tf.float32))
docstring: errors
docstring_summary: errors
docstring_tokens: errors
function: def accuarcy(self, y):
          """errors"""
          correct_pred = tf.equal(self.y_pred, tf.argmax(y, axis=1))
          return tf.reduce_mean(tf.cast(correct_pred, tf.float32))
function_tokens: def accuarcy ( self , y ) : correct_pred = tf . equal ( self . y_pred , tf . argmax ( y , axis = 1 ) ) return tf . reduce_mean ( tf . cast ( correct_pred , tf . float32 ) )