import tensorflow as tf

print((sess.run(custom_polynomial(tf, 11))))

alpha = 0.1
val = tf.constant([[2, 3], [1, 4]], dtype=tf.float32)
l1 = tf.contrib.layers.l1_regularizer(alpha)(val)
l2 = tf.contrib.layers.l2_regularizer(alpha)(val)

A = [[0.8, 0.6, 0.3], [0.1, 0.6, 0.4]]
