Skip to content

Commit 5cfa89e

Browse files
committed
Fix eth_mnist example
1 parent 014fa57 commit 5cfa89e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/mnist/eth_mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
if plot:
254254
image = batch["image"].view(28, 28)
255255
inpt = inputs["X"].view(time, 784).sum(0).view(28, 28)
256-
input_exc_weights = network.connections[("X", "Ae")].w
256+
input_exc_weights = network.connections[("X", "Ae")].pipeline[0].value
257257
square_weights = get_square_weights(
258258
input_exc_weights.view(784, n_neurons), n_sqrt, 28
259259
)

0 commit comments

Comments
 (0)