MCPcopy Create free account
hub / github.com/BindsNET/bindsnet / conv1d_MNIST.py

File conv1d_MNIST.py

examples/mnist/conv1d_MNIST.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1### Toy example to test Conv1dConnection (the dataset used is MNIST but each image is raveled (each sample has shape (784,)).
2
3import argparse
4import os

Callers

nothing calls this directly

Calls 12

NetworkClass · 0.90
InputClass · 0.90
DiehlAndCookNodesClass · 0.90
Conv1dConnectionClass · 0.90
ConnectionClass · 0.90
MonitorClass · 0.90
PoissonEncoderClass · 0.90
add_layerMethod · 0.80
add_connectionMethod · 0.80
add_monitorMethod · 0.80
runMethod · 0.80
reset_state_variablesMethod · 0.45

Tested by

no test coverage detected