:param name: string
        :param shape: 1D array
        :param value: float
        :return: tf variable

def const_variable(name, shape, value, trainable):
        """
        :param name: string
        :param shape: 1D array
        :param value: float
        :return: tf variable
        """
        return tf.get_variable(name, shape, initializer=tf.constant_initializer(value), trainable=trainable)