'@num_hidden: éèå±çèç¹æ°é
@batch_sizeïŒå äžºæä»¬èŠèçåå­ïŒæä»¥åæ¹å€çæ°æ®ãæ¯äžæ¹çæ°æ®éã'

def __init__(self, num_hidden, batch_size):

    self.batch_size = batch_size
    self.test_batch_size = 500
    self.num_hidden = num_hidden
    self.graph = tf.Graph()
    self.tf_train_samples = None
    self.tf_train_labels = None
    self.tf_test_samples = None
    self.tf_test_labels = None
    self.tf_test_prediction = None
    self.merged = None
    self.define_graph()
    self.session = tf.Session(graph=self.graph)
    self.writer = tf.train.SummaryWriter('./board', self.graph)
