import tensorflow as tf


def get_weight_initializer(params):
    
    initializer = []
    
    scope = tf.get_variable_scope()
    scope.reuse_variables()
    for layer, value in params.items():
        op = tf.get_variable('%s' % layer).assign(value)
        initializer.append(op)
