Skip to content

Commit

Permalink
Merge pull request #72 from Tensor46/develop
Browse files Browse the repository at this point in the history
+ docs
  • Loading branch information
Tensor46 authored Feb 21, 2021
2 parents 168f241 + e8264da commit 67617d3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
__pycache__/
*.py[cod]
*$py.class
YellowFIN.py
test*
.idea/
.DS_Store
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ TensorMONK is a computer vision library for `PyTorch <https://pytorch.org/>`_.

modules/activations
modules/detection
modules/layers


Indices and Tables
Expand Down
40 changes: 40 additions & 0 deletions docs/source/modules/layers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
tensormonk.layers
==================

Attention, convolution, linear and vision layers.

.. contents:: Contents
:local:

CondConv2d
-----------

.. autoclass:: tensormonk.layers.CondConv2d
:members:
:exclude-members: forward

Attention Layers
-----------------

All attention layers.

LocalAttention
^^^^^^^^^^^^^^^

.. autoclass:: tensormonk.layers.LocalAttention
:members:
:exclude-members: forward

SelfAttention
^^^^^^^^^^^^^^

.. autoclass:: tensormonk.layers.SelfAttention
:members:
:exclude-members: forward


LucasKanade
------------
.. autoclass:: tensormonk.layers.LucasKanade
:members:
:exclude-members: extract_patches, gaussian

0 comments on commit 67617d3

Please sign in to comment.