include("abstract_neural_networks.jl")

function zero!(nn::NeuralNetworkStorage)
    # Zeroes out all of the arrays in the neural network type
    names = names(nn)
    types = nn.types
    for t,n in zip(types, names)
        if isa(t, Weights)
        fill!(nn.(n), 0)
        end
    end
end


include("abstract_neural_networks.jl")

function zero!(nn::NeuralNetworkStorage)
    # Zeroes out all of the arrays in the neural network type
    fields = names(nn)
    types = typeof(nn).types
    for (t,f) in zip(types, fields)
        if t <: Weights
            fill!(nn.(f), 0)
        end
    end
end


Fix sln_mll test so that zero! works
Fix sln_mll test so that zero! works
