This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Boltzmann | |
using MLDatasets.MNIST: testdata | |
using ImageView | |
include("relu.jl") | |
function plot_weights(W, imsize, padding=10) | |
h, w = imsize | |
n = size(W, 1) | |
rows = Int(floor(sqrt(n))) |