def weight_variable(shape):
    'weight_variable generates a weight variable of a given shape.'
    initial = tf.truncated_normal(shape, stddev=(0.1 / math.sqrt(float(hiddenlayer_units))))
    return tf.Variable(initial)
weight_variable generates a weight variable of a given shape.
def weight_variable(shape):
    
    initial = tf.truncated_normal(shape, stddev=(0.1 / math.sqrt(float(hiddenlayer_units))))
    return tf.Variable(initial)