├── CIFAR10 ├── BlockGRU.py ├── BlockLSTM.py ├── GroupLinearLayer.py ├── attention.py ├── baseline_lstm_model.py ├── blocks.py ├── blocks_core_all.py ├── cifar_seq_data_classify.py ├── layer_conn_attention.py ├── mixed.py ├── rnn_models.py ├── sparse_attn.py ├── sparse_grad_attn.py └── train_cifar.py ├── MNIST ├── BlockGRU.py ├── BlockLSTM.py ├── GroupLinearLayer.py ├── attention.py ├── baseline_lstm_model.py ├── blocks.py ├── blocks_core.py ├── blocks_core_all.py ├── layer_conn_attention.py ├── mixed.py ├── mnist_seq_data_classify.py ├── rnn_models.py ├── sparse_attn.py ├── sparse_grad_attn.py └── train_mnist.py └── README.md /CIFAR10/BlockGRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/BlockGRU.py -------------------------------------------------------------------------------- /CIFAR10/BlockLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/BlockLSTM.py -------------------------------------------------------------------------------- /CIFAR10/GroupLinearLayer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/GroupLinearLayer.py -------------------------------------------------------------------------------- /CIFAR10/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/attention.py -------------------------------------------------------------------------------- /CIFAR10/baseline_lstm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/baseline_lstm_model.py -------------------------------------------------------------------------------- /CIFAR10/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/blocks.py -------------------------------------------------------------------------------- /CIFAR10/blocks_core_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/blocks_core_all.py -------------------------------------------------------------------------------- /CIFAR10/cifar_seq_data_classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/cifar_seq_data_classify.py -------------------------------------------------------------------------------- /CIFAR10/layer_conn_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/layer_conn_attention.py -------------------------------------------------------------------------------- /CIFAR10/mixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/mixed.py -------------------------------------------------------------------------------- /CIFAR10/rnn_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/rnn_models.py -------------------------------------------------------------------------------- /CIFAR10/sparse_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/sparse_attn.py -------------------------------------------------------------------------------- /CIFAR10/sparse_grad_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/sparse_grad_attn.py -------------------------------------------------------------------------------- /CIFAR10/train_cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/CIFAR10/train_cifar.py -------------------------------------------------------------------------------- /MNIST/BlockGRU.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/BlockGRU.py -------------------------------------------------------------------------------- /MNIST/BlockLSTM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/BlockLSTM.py -------------------------------------------------------------------------------- /MNIST/GroupLinearLayer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/GroupLinearLayer.py -------------------------------------------------------------------------------- /MNIST/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/attention.py -------------------------------------------------------------------------------- /MNIST/baseline_lstm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/baseline_lstm_model.py -------------------------------------------------------------------------------- /MNIST/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/blocks.py -------------------------------------------------------------------------------- /MNIST/blocks_core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/blocks_core.py -------------------------------------------------------------------------------- /MNIST/blocks_core_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/blocks_core_all.py -------------------------------------------------------------------------------- /MNIST/layer_conn_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/layer_conn_attention.py -------------------------------------------------------------------------------- /MNIST/mixed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/mixed.py -------------------------------------------------------------------------------- /MNIST/mnist_seq_data_classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/mnist_seq_data_classify.py -------------------------------------------------------------------------------- /MNIST/rnn_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/rnn_models.py -------------------------------------------------------------------------------- /MNIST/sparse_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/sparse_attn.py -------------------------------------------------------------------------------- /MNIST/sparse_grad_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/sparse_grad_attn.py -------------------------------------------------------------------------------- /MNIST/train_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/MNIST/train_mnist.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sarthmit/BRIMs/HEAD/README.md --------------------------------------------------------------------------------