Skip to content

Commit c3ea4cf

Browse files
authored
[Doc] Update API doc and Sphinx version (#2346)
* Update Sphinx version to avoid regression in future doc update. * Add missing IOS18 ops into API doc source.
1 parent e6be416 commit c3ea4cf

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

docs/source/coremltools.converters.mil.mil.ops.defs.rst

+21-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ classify
4848

4949
.. autoclass:: classify
5050

51-
constexpr_ops
51+
constexpr_ops (iOS 16+)
5252
---------------------------------------------------
5353

5454
.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS16.constexpr_ops
@@ -58,6 +58,18 @@ constexpr_ops
5858
.. autoclass:: constexpr_lut_to_dense
5959
.. autoclass:: constexpr_sparse_to_dense
6060

61+
constexpr_ops (iOS 18+)
62+
---------------------------------------------------------------------
63+
64+
.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS18.compression
65+
66+
.. autoclass:: constexpr_blockwise_shift_scale
67+
.. autoclass:: constexpr_lut_to_dense
68+
.. autoclass:: constexpr_sparse_to_dense
69+
.. autoclass:: constexpr_lut_to_sparse
70+
.. autoclass:: constexpr_sparse_blockwise_shift_scale
71+
.. autoclass:: constexpr_cast
72+
6173
control\_flow
6274
------------------------------------------------------------
6375

@@ -281,6 +293,14 @@ recurrent (iOS 17+)
281293
.. autoclass:: lstm
282294
.. autoclass:: rnn
283295

296+
recurrent (iOS 18+)
297+
--------------------------------------------------------
298+
299+
.. automodule:: coremltools.converters.mil.mil.ops.defs.iOS18.recurrent
300+
301+
.. autoclass:: gru
302+
303+
284304
reduction (iOS 15+)
285305
--------------------------------------------------------
286306

reqs/docs.pip

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Babel
22
MarkupSafe
33
Pygments
4-
Sphinx==7.3.1
4+
Sphinx==7.4.7
55
alabaster
66
certifi
77
chardet

0 commit comments

Comments
 (0)