54995b0332cb91994b4bef61adee6418af207dbc,kronecker_test.py,KroneckerTest,testSlogDet,#KroneckerTest#,38

Before Change


    kron_neg = t3f.get_variable("kron_neg", initializer=t3f.random_matrix(((2, 3), (2, 3)), tt_rank=1))
  
    tf.set_random_seed(1) // positive determinant
    kron_pos = t3f.get_variable("kron_pos", initializer=t3f.random_matrix(((2, 3), (2, 3)), tt_rank=1))

    init_op = tf.global_variables_initializer()
    with self.test_session() as sess:
       // negative derminant

After Change


    kron_neg = t3f.get_variable("kron_neg", initializer=initializer)
  
    tf.set_random_seed(1) // positive determinant
    initializer = t3f.random_matrix(((2, 3), (2, 3)), tt_rank=1)
    kron_pos = t3f.get_variable("kron_pos", initializer=initializer)

    init_op = tf.global_variables_initializer()
    with self.test_session() as sess:
       // negative derminant
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 5

Instances


Project Name: Bihaqo/t3f
Commit Name: 54995b0332cb91994b4bef61adee6418af207dbc
Time: 2017-02-11
Author: izmailovpavel@gmail.com
File Name: kronecker_test.py
Class Name: KroneckerTest
Method Name: testSlogDet


Project Name: Bihaqo/t3f
Commit Name: 54995b0332cb91994b4bef61adee6418af207dbc
Time: 2017-02-11
Author: izmailovpavel@gmail.com
File Name: kronecker_test.py
Class Name: KroneckerTest
Method Name: testDet


Project Name: Bihaqo/t3f
Commit Name: 54995b0332cb91994b4bef61adee6418af207dbc
Time: 2017-02-11
Author: izmailovpavel@gmail.com
File Name: kronecker_test.py
Class Name: KroneckerTest
Method Name: testIsKronNonKron


Project Name: Bihaqo/t3f
Commit Name: 54995b0332cb91994b4bef61adee6418af207dbc
Time: 2017-02-11
Author: izmailovpavel@gmail.com
File Name: kronecker_test.py
Class Name: KroneckerTest
Method Name: testIsKronKron


Project Name: Bihaqo/t3f
Commit Name: 54995b0332cb91994b4bef61adee6418af207dbc
Time: 2017-02-11
Author: izmailovpavel@gmail.com
File Name: kronecker_test.py
Class Name: KroneckerTest
Method Name: testInv