Skip to content

Commit

Permalink
Simplifications on the doc
Browse files Browse the repository at this point in the history
* Remove empty adjectives like "Common" or "Optax" from title
* Merge the very small file privacy_sensitive.rst into utilities.rst

PiperOrigin-RevId: 600386918
  • Loading branch information
fabianp authored and OptaxDev committed Jan 22, 2024
1 parent d6fc6ae commit ed5c793
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 24 deletions.
4 changes: 2 additions & 2 deletions docs/api/common_losses.rst → docs/api/losses.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Common Losses
===============
Losses
======

.. currentmodule:: optax

Expand Down
4 changes: 2 additions & 2 deletions docs/api/common_optimizers.rst → docs/api/optimizers.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Common Optimizers
===================
Optimizers
==========

.. currentmodule:: optax

Expand Down
15 changes: 0 additions & 15 deletions docs/api/privacy_sensitive.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Optax Transformations
Transformations
=====================

.. currentmodule:: optax
Expand Down
17 changes: 17 additions & 0 deletions docs/api/utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,23 @@ Safe root mean squares
.. autofunction:: safe_root_mean_squares


Privacy-Sensitive Optax Methods
-------------------------------

.. currentmodule:: optax

.. autosummary::
DifferentiallyPrivateAggregateState
differentially_private_aggregate


Differentially Private Aggregate
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autofunction:: differentially_private_aggregate
.. autoclass:: DifferentiallyPrivateAggregateState
:members:


Second Order Optimization
-------------------------

Expand Down
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ for instructions on installing JAX.
:caption: API Documentation
:maxdepth: 2

api/common_optimizers
api/optax_transformations
api/optimizers
api/transformations
api/combining_optimizers
api/optimizer_wrappers
api/optimizer_schedules
api/apply_updates
api/common_losses
api/losses
api/linear_algebra_operators
api/control_variates
api/stochastic_gradient_estimators
api/privacy_sensitive
api/utilities
api/contrib


The Team
--------

Expand Down

0 comments on commit ed5c793

Please sign in to comment.