Skip to content

v0.9.1

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Oct 08:48

AbstractNeuralNetworks v0.9.1

Diff since v0.9.0

Changed

  • CI uploads coverage from the Julia 1 - ubuntu-latest job instead of Julia min, and a test
    job saves the Julia cache only when it succeeds.

  • Pkg.test() no longer runs the doctests. test/quality/doctests.jl is now the group
    doctests, which an empty ARGS does 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.jl moves to test/integration/neural_network_constructors.jl.
    The test convention keeps a test file at the top level of test/ only where it mirrors
    src/<name>.jl, and there is no src/neural_network_constructors.jl. The file tests the
    NeuralNetwork constructors of src/neural_network.jl, whose mirror test/neural_network.jl
    already exists, so it goes to test/integration/.

Dependencies and tests

  • Admits NeuralNetworkParameters 0.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 of nothing,
    gives a leaf's gradient the leaf's element type, rejects a NetworkParameters with 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)