From da9b3a2ae568315a0b2f5aaa28fc0f038d17a558 Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Thu, 18 Mar 2021 14:10:03 +0100 Subject: [PATCH 1/2] add news entry for end of deprecation cycle --- NEWS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS.md b/NEWS.md index d910cb4dc4..c873f440f1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,6 +17,7 @@ * New [`Parallel` layer](https://github.com/FluxML/Flux.jl/pull/1462) adds inception module-like building blocks. * Feature additions and bug fixes for BatchNorm, LayerNorm, InstanceNorm, and GroupNorm [normalization layers](https://github.com/FluxML/Flux.jl/pull/1397) * Added [Upsample and PixelShuffle layers](https://github.com/FluxML/Flux.jl/pull/1468) +* End of deprecation cycle: loss functions cannot be accessed directly from `Flux` anymore, they live in the `Flux.Losses` module. All loss functions perform avverage aggregation by default. ## v0.11.2 From 507d276e5bd1bd28ca21a267a90f89b5d11ee9de Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Thu, 18 Mar 2021 14:11:10 +0100 Subject: [PATCH 2/2] Update NEWS.md --- NEWS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index c873f440f1..c61fa02923 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,7 +17,8 @@ * New [`Parallel` layer](https://github.com/FluxML/Flux.jl/pull/1462) adds inception module-like building blocks. * Feature additions and bug fixes for BatchNorm, LayerNorm, InstanceNorm, and GroupNorm [normalization layers](https://github.com/FluxML/Flux.jl/pull/1397) * Added [Upsample and PixelShuffle layers](https://github.com/FluxML/Flux.jl/pull/1468) -* End of deprecation cycle: loss functions cannot be accessed directly from `Flux` anymore, they live in the `Flux.Losses` module. All loss functions perform avverage aggregation by default. +* End of deprecation cycle: loss functions cannot be accessed directly from `Flux` anymore, they live in the `Flux.Losses` module. + All loss functions perform `mean` aggregation by default. ## v0.11.2