Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
neural_filters
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
software
neural_filters
Commits
a5b93dc0
Commit
a5b93dc0
authored
Jun 07, 2018
by
M. François
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
partial update
parent
38b26d13
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
56 deletions
+27
-56
.gitignore
.gitignore
+2
-0
README.md
README.md
+1
-1
docs/README.rst
docs/README.rst
+0
-32
docs/sphinx/conf.py
docs/sphinx/conf.py
+17
-15
docs/sphinx/index.rst
docs/sphinx/index.rst
+1
-1
neural_filters/__init__.py
neural_filters/__init__.py
+0
-1
setup.py
setup.py
+6
-6
No files found.
.gitignore
View file @
a5b93dc0
.idea/
*~
docs/html
docs/sphinx/_build
...
...
README.md
View file @
a5b93dc0
neural_filters
neural_filters
is a PyTorch toolbox implementing linear IIR filters as recurrent neural units
docs/README.rst
View file @
a5b93dc0
...
...
@@ -2,38 +2,6 @@ Welcome to Neural Filters’s documentation!
******************************************
NeuralFilter1P
==============
This module implements a trainable all-pole first order filter using
pyTorch
Copyright (c) 2018 Idiap Research Institute, http://www.idiap.ch/
Written by Francois Marelli <Francois.Marelli@idiap.ch>
This file is part of neural_filters.
neural_filters is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 as
published by the Free Software Foundation.
neural_filters is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with neural_filters. If not, see <http://www.gnu.org/licenses/>.
class NeuralFilter1P.NeuralFilter1P(input_size, hidden_size)
A trainable first-order all-pole filter \frac{K}{1 - P z^{-1}}
* **input_size** (int) - the size of the input vector
* **hidden_size** (int) - the size of the output vector
Indices and tables
******************
...
...
docs/sphinx/conf.py
View file @
a5b93dc0
...
...
@@ -16,10 +16,13 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import
os
import
sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
'..'
,
'..'
,
'neural_filters'
)))
import
NeuralFilter1P
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
os
.
path
.
join
(
'..'
,
'..'
,
'neural_filters'
)))
import
neural_filters
# -- General configuration ------------------------------------------------
...
...
@@ -119,7 +122,6 @@ pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos
=
False
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
...
...
@@ -244,21 +246,21 @@ htmlhelp_basename = 'NeuralFiltersdoc'
# -- Options for LaTeX output ---------------------------------------------
latex_elements
=
{
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}
# Grouping the document tree into LaTeX files. List of tuples
...
...
docs/sphinx/index.rst
View file @
a5b93dc0
...
...
@@ -10,7 +10,7 @@ Welcome to Neural Filters's documentation!
:maxdepth: 2
:caption: Contents:
.. automodule::
NeuralFilter1P
.. automodule::
neural_filters
:members:
Indices and tables
...
...
neural_filters/__init__.py
View file @
a5b93dc0
...
...
@@ -25,7 +25,6 @@ def atanh(x):
return
numpy
.
arctanh
(
x
)
from
.log_loss
import
*
from
.neural_filter
import
*
from
.neural_filter_2CC
import
*
from
.neural_filter_2CD
import
*
...
...
setup.py
View file @
a5b93dc0
...
...
@@ -2,18 +2,18 @@ from setuptools import setup
setup
(
name
=
'neural_filters'
,
version
=
'
0.1
'
,
version
=
'
1.0
'
,
description
=
'Linear filters for neural networks in pyTorch'
,
author
=
'Idiap research institute - Francois Marelli'
,
author_email
=
'francois.marelli@idiap.ch'
,
classifiers
=
[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha'
,
'Development Status :: 5 - Production/Stable'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: GNU GPL v3'
,
'Programming Language :: Python :: 3.6'
,
],
install_requires
=
[
'torch>=0.4.0'
],
install_requires
=
[
'torch>=0.4.0'
,
'numpy'
,
],
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment