Esempio n. 1
0
    def setUpClass(cls):

        b1 = tl.alphas([4, 3, 2, 1], 0.5431)
        b2 = tl.alphas([4, 3, 2], 5)
        b3 = tl.alphas([1, 2, 3, 4], -5)
        b4 = tl.alphas([2, 3, 4], True)

        with tf.Session() as sess:
            cls._b1, cls._b2, cls._b3, cls._b4 = sess.run([b1, b2, b3, b4])
Esempio n. 2
0
    def setUpClass(cls):

        b1 = tl.alphas([4, 3, 2, 1], 0.5431)
        b2 = tl.alphas([4, 3, 2], 5)
        b3 = tl.alphas([1, 2, 3, 4], -5)
        b4 = tl.alphas([2, 3, 4], True)

        with tf.Session() as sess:
            cls._b1, cls._b2, cls._b3, cls._b4 = sess.run([b1, b2, b3, b4])