import tensorflow as tf


    # 定义一个weight，其中命名空间为name，形状为shape
    def weight_variable(self,name, shape):
        with tf.variable_scope(name) as scope:
            weights = tf.get_variable('weights',
                                      shape=shape,
