Skip to content

Commit

Permalink
[Doc] Update API doc and Sphinx version (#2346)
Browse files Browse the repository at this point in the history
* Update Sphinx version to avoid regression in future doc update.

* Add missing IOS18 ops into API doc source.
  • Loading branch information
junpeiz authored Sep 23, 2024
1 parent e6be416 commit c3ea4cf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 21 additions & 1 deletion docs/source/coremltools.converters.mil.mil.ops.defs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ classify

.. autoclass:: classify

constexpr_ops
constexpr_ops (iOS 16+)
---------------------------------------------------

.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS16.constexpr_ops
Expand All @@ -58,6 +58,18 @@ constexpr_ops
.. autoclass:: constexpr_lut_to_dense
.. autoclass:: constexpr_sparse_to_dense

constexpr_ops (iOS 18+)
---------------------------------------------------------------------

.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS18.compression

.. autoclass:: constexpr_blockwise_shift_scale
.. autoclass:: constexpr_lut_to_dense
.. autoclass:: constexpr_sparse_to_dense
.. autoclass:: constexpr_lut_to_sparse
.. autoclass:: constexpr_sparse_blockwise_shift_scale
.. autoclass:: constexpr_cast

control\_flow
------------------------------------------------------------

Expand Down Expand Up @@ -281,6 +293,14 @@ recurrent (iOS 17+)
.. autoclass:: lstm
.. autoclass:: rnn

recurrent (iOS 18+)
--------------------------------------------------------

.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS18.recurrent

.. autoclass:: gru


reduction (iOS 15+)
--------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion reqs/docs.pip
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Babel
MarkupSafe
Pygments
Sphinx==7.3.1
Sphinx==7.4.7
alabaster
certifi
chardet
Expand Down

0 comments on commit c3ea4cf

Please sign in to comment.