Skip to content

Commit 5b8618a

Browse files
Merge pull request #755 from andreapignaz/fix/eth_mnist
Fix eth_mnist example
2 parents 014fa57 + 5cfa89e commit 5b8618a

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)