bda4689a2792e3b4a9e93b8d4fead564c27316d8,examples/mnist/mnist_env_test.py,,,#,35

Before Change


		input_exc_weights = network.connections[("X", "Ae")].w
		square_weights = get_square_weights(input_exc_weights.view(784, n_neurons), n_sqrt)
		square_assignments = get_square_assignments(assignments, n_sqrt)
		_voltages = {"Ae" : voltages["Ae"].get("v"), "Ai" : voltages["Ai"].get("v")}
		
		if i == 0:
			// inpt_axes, inpt_ims = plot_input(images[i].view(28, 28), inpt.t(), label=labels[i])

After Change


	// Optionally plot various simulation information.
	if plot:
		image = pipeline.obs.view(28, 28)
		inpt = pipeline.encoded.view(time, 784).sum(0).view(28, 28)
		input_exc_weights = network.connections[("X", "Ae")].w
		square_weights = get_square_weights(input_exc_weights.view(784, n_neurons), n_sqrt)
		square_assignments = get_square_assignments(assignments, n_sqrt)
		
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: BindsNET/bindsnet
Commit Name: bda4689a2792e3b4a9e93b8d4fead564c27316d8
Time: 2018-05-08
Author: djsaunde@umass.edu
File Name: examples/mnist/mnist_env_test.py
Class Name:
Method Name:


Project Name: librosa/librosa
Commit Name: ed4b036702f46a57002b1fa946af84a9c822503e
Time: 2016-10-03
Author: brian.mcfee@nyu.edu
File Name: librosa/filters.py
Class Name:
Method Name: window_bandwidth


Project Name: mne-tools/mne-python
Commit Name: 544989c7ff9922e04bddad72c1b13156ce344ace
Time: 2019-02-15
Author: alexandre.gramfort@m4x.org
File Name: mne/rank.py
Class Name:
Method Name: _get_rank_sss