Skip to content

Commit

Permalink
docs(akida_models_apis): add new components
Browse files Browse the repository at this point in the history
Note that Distiller members were removed as the inherited members use the native
keras documentation that will display badly.
  • Loading branch information
ktsiknos-brainchip authored and dcorvoysier-brainchip committed Nov 15, 2022
1 parent 39d49cb commit 06c24ab
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion doc/api_reference/akida_models_apis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,31 @@ Akida models API
-----------
.. autofunction:: akida_models.layer_blocks.dense_block

mlp_block
---------
.. autofunction:: akida_models.layer_blocks.mlp_block

multi_head_attention
--------------------
.. autofunction:: akida_models.layer_blocks.multi_head_attention

transformer_block
-----------------
.. autofunction:: akida_models.layer_blocks.transformer_block

conv_transpose_block
--------------------
.. autofunction:: akida_models.layer_blocks.conv_transpose_block

sepconv_transpose_block
-----------------------
.. autofunction:: akida_models.layer_blocks.sepconv_transpose_block

tools
-----
.. autofunction:: akida_models.layer_blocks.act_to_layer
.. autofunction:: akida_models.layer_blocks.norm_to_layer

Helpers
=======

Expand All @@ -31,7 +56,7 @@ Akida models API
======================

.. autoclass:: akida_models.distiller.Distiller
:members:
.. autoclass:: akida_models.distiller.DeitDistiller
.. autofunction:: akida_models.distiller.KLDistillationLoss

Pruning
Expand All @@ -48,6 +73,15 @@ Akida models API
.. autofunction:: akida_models.training.evaluate_akida_model
.. autofunction:: akida_models.training.compile_model

MACS
====
.. autofunction:: akida_models.macs.get_flops
.. autofunction:: akida_models.macs.display_macs

Utils
=====
.. autofunction:: akida_models.utils.fetch_file

Model zoo
=========

Expand Down

0 comments on commit 06c24ab

Please sign in to comment.