2064131d611f2be8453fde137b626956ff049447,test/paysage/test_layers.py,,test_gaussian_log_partition_function,#,107

Before Change



def test_gaussian_log_partition_function():
    ly = layers.GaussianLayer(8)
    vis = be.randn((10, ly.len))
    ly.log_partition_function(vis)

def test_gaussian_online_param_update():
    ly = layers.GaussianLayer(8)

After Change



def test_gaussian_log_partition_function():
    ly = layers.GaussianLayer(num_vis)
    vis = ly.random((num_samples, num_vis))
    ly.log_partition_function(vis)

def test_gaussian_online_param_update():
    ly = layers.GaussianLayer(num_vis)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: drckf/paysage
Commit Name: 2064131d611f2be8453fde137b626956ff049447
Time: 2017-04-03
Author: jrwalsh1@gmail.com
File Name: test/paysage/test_layers.py
Class Name:
Method Name: test_gaussian_log_partition_function


Project Name: drckf/paysage
Commit Name: 2064131d611f2be8453fde137b626956ff049447
Time: 2017-04-03
Author: jrwalsh1@gmail.com
File Name: test/paysage/test_layers.py
Class Name:
Method Name: test_gaussian_derivatives


Project Name: drckf/paysage
Commit Name: 2064131d611f2be8453fde137b626956ff049447
Time: 2017-04-03
Author: jrwalsh1@gmail.com
File Name: test/paysage/test_layers.py
Class Name:
Method Name: test_gaussian_energy


Project Name: drckf/paysage
Commit Name: 2064131d611f2be8453fde137b626956ff049447
Time: 2017-04-03
Author: jrwalsh1@gmail.com
File Name: test/paysage/test_layers.py
Class Name:
Method Name: test_gaussian_online_param_update