import tensorflow as tf

    # calc l2 losses
    l2_loss += tf.nn.l2_loss(W)
    l2_loss += tf.nn.l2_loss(b)
    
    # do logit = W*X+b
    logit = tf.nn.xw_plus_b(H_drop, W, b, name="scores")
    predictions = tf.nn.softmax(logit, name="predictions")


#claulate loss and optimizer
