adjust LabelTensor (inheritance)

This commit is contained in:
Your Name
2022-03-28 15:11:22 +02:00
parent d65aea8759
commit 12f4084d7f
6 changed files with 198 additions and 60 deletions

View File

@@ -0,0 +1,7 @@
Code Documentation
==================
.. toctree::
:maxdepth: 3
LabelTensor <label_tensor.rst>

View File

@@ -0,0 +1,12 @@
LabelTensor
===========
.. currentmodule:: pina.label_tensor
.. automodule:: pina.label_tensor
.. autoclass:: LabelTensor
:members:
:private-members:
:undoc-members:
:show-inheritance:
:noindex:

View File

@@ -47,12 +47,14 @@ extensions = [
'sphinx.ext.ifconfig',
'sphinx.ext.mathjax',
]
autosummary_generate = True
intersphinx_mapping = {
'python': ('http://docs.python.org/2', None), 'numpy':
('http://docs.scipy.org/doc/numpy/', None), 'scipy':
('http://docs.scipy.org/doc/scipy/reference/', None), 'matplotlib':
('http://matplotlib.sourceforge.net/', None)
'python': ('http://docs.python.org/2', None),
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
'scipy': ('http://docs.scipy.org/doc/scipy/reference/', None),
'matplotlib': ('http://matplotlib.sourceforge.net/', None),
'torch': ('https://pytorch.org/docs/stable/', None)
}
# Add any paths that contain templates here, relative to this directory.

View File

@@ -22,6 +22,7 @@ solve problems in a continuous and nonlinear settings.
:caption: Package Documentation:
Installation <_rst/installation>
API <_rst/code>
Contributing <_rst/contributing>
License <LICENSE.rst>
@@ -30,7 +31,7 @@ solve problems in a continuous and nonlinear settings.
.. ........................................................................................
.. toctree::
:maxdepth: 2
:maxdepth: 1
:numbered:
:caption: Tutorials: