Skip to content

Commit

Permalink
Merge pull request #716 from google:version-0.3
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 346305651
  • Loading branch information
Flax Authors committed Dec 8, 2020
2 parents edc4034 + bba8b12 commit d59410b
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
35 changes: 32 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,40 @@ Changelog
----------

vNext
----
(Please add entries here with your changes for the next version)
------
Add new changes here

v0.3
-----
Linen is now out of Alpha (flax.nn is being deprecated)!

- `flax.core.apply` and linen `Module.apply` will now only return the variables
collections that were specified as mutable.
- ...
- Fixed handling of multiple separate subclasses of a Module.
- We now allow assignment of mixed Module pytrees in setup.
- Refactored collection creation to fail early when modifying an undefined collection as
before an non-existing non-mutable collection would just be silently ignored.
- Added the silu activation function.
- Add offset argument to Adafactor optimizer for fine-tuning schedules.
- Relaxed limit on calling methods on unbound modules.
- Relaxed parameter attribute check
- Added centered version of RMSProp.
- Added GCE getting started kit.
- Renamed -gpu_type to -accelerator_type.
- Fixed bug in MultiOptimizer causing it to throw away empty dictionary

### Improvements
- Made FrozenDict constructor freeze correctly.
- Made freeze a synonym of the FrozenDict constructor
- Optimize freezing FrozenDicts by sharing immutable internal state.
- We simplified __setattr__ handling of trees with Modules.
- Minor improvements in dtype handling, broadcast option for dropout.
- Added a dtype specification to Embed layer, made Adafactor use float32
state consistently, and added a broadcasting option to the Dropout layer.
- Improved frozen dict performance.
- (Massive) docs improvements
- End to end benchmarks added.
- Examples were updated to Linen.

v0.2.2
----
Expand Down
2 changes: 1 addition & 1 deletion flax/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "0.2.2"
__version__ = "0.3.0"

0 comments on commit d59410b

Please sign in to comment.