import tensorflow as tf


    :type shape: tuple
    :type name: str
    :rtype: dictionary
    """
    Winit = tf.truncated_normal(shape, mean=0, stddev=0.1)
    binit = tf.zeros(shape[-1])
    layer = {}
    layer["weights"] = tf.get_variable(name + "/weights",
                                       dtype=tf.float32,
