Repository navigation
AbstractNeuralNetworks v0.9.1
Changed
-
CI uploads coverage from the
Julia 1 - ubuntu-latestjob instead ofJulia min, and a test
job saves the Julia cache only when it succeeds. -
Pkg.test()no longer runs the doctests.test/quality/doctests.jlis now the group
doctests, which an emptyARGSdoes not run;Pkg.test(test_args = ["doctests"])runs it. In
CI the Doctests job stays their runner, so the test matrix no longer runs them a second time. -
test/neural_network_constructors.jlmoves totest/integration/neural_network_constructors.jl.
The test convention keeps a test file at the top level oftest/only where it mirrors
src/<name>.jl, and there is nosrc/neural_network_constructors.jl. The file tests the
NeuralNetworkconstructors ofsrc/neural_network.jl, whose mirrortest/neural_network.jl
already exists, so it goes totest/integration/.
Dependencies and tests
- Admits
NeuralNetworkParameters0.5 alongside 0.4.2 (compat only; no change to this
package's own behaviour). The downstream packages move to NNP 0.5, and they can resolve only if
this package admits it. NNP 0.5 gives an untouched leaf a zero gradient instead ofnothing,
gives a leaf's gradient the leaf's element type, rejects aNetworkParameterswith two numeric
element types, and makes+add storage leaf by leaf. The test suite passes against both 0.4.2
and 0.5.
Merged pull requests:
- CI: coverage from Julia 1 on ubuntu, save the cache only from a job that succeeds (#54) (@michakraus)
- Move the doctests into their own test group (#55) (@michakraus)
- Move the top-level test files that mirror no source file (#56) (@michakraus)
- Admit NeuralNetworkParameters 0.5 in compat (#57) (@michakraus)