803e5d1edc05bd1ff7ea2454c782a2b37547a4ea,tests/test_int32_tensor.py,TestConv2D,test_forward,#TestConv2D#,59

Before Change


        filter_shape = (h_filter, w_filter, channels_in, channels_out)
        filter_values = np.random.normal(size=filter_shape).astype(np.int32)

        inp = Int32Tensor(tf.constant(input_conv))
        out = inp.conv2d(Int32Tensor(tf.constant(filter_values)), strides)
        with tf.Session() as sess:
            actual = sess.run(out.to_native())

After Change


        filter_values = np.random.normal(size=filter_shape).astype(np.int32)

        inp = int32factory.tensor(input_conv)
        out = inp.conv2d(int32factory.tensor(filter_values), strides)
        with tf.Session() as sess:
            actual = sess.run(out.to_native())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mortendahl/tf-encrypted
Commit Name: 803e5d1edc05bd1ff7ea2454c782a2b37547a4ea
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tests/test_int32_tensor.py
Class Name: TestConv2D
Method Name: test_forward


Project Name: mortendahl/tf-encrypted
Commit Name: 803e5d1edc05bd1ff7ea2454c782a2b37547a4ea
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tests/test_int32_tensor.py
Class Name: TestInt32Tensor
Method Name: test_random_binarize


Project Name: mortendahl/tf-encrypted
Commit Name: 803e5d1edc05bd1ff7ea2454c782a2b37547a4ea
Time: 2019-01-10
Author: mortendahlcs@gmail.com
File Name: tests/test_int32_tensor.py
Class Name: TestInt32Tensor
Method Name: test_binarize