-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feat/tflite compatibility (#118) * update tensorflow requirements to have optional gpu version * Update README.md * Update README.md * update CI * tflite compatible STFT layer * tflite compatible STFT layer * magnitude layer works out shape for itself. * tflite phase support * Approximate phase and tests * undo some black modifications * undo some black modifications * undo some black modifications * undo some black modifications * remove batch index * right padding only for stft, improved unit test * update doc string * update doc string * remove extra requirement * remove extra requirement * add extra req * remove extra req * remove extra req * remove extra req * remove extra req * remove extra req * remove extra req * remove extra req * update readme * update readme * update docstring * update docstrings * tflite compatible layers as a subpackage * Wrap comment in """ * Revert to simple modules * Dont need to reinitialise * Fix formatting * Revert some `black` changes * Docstring update * docstring update Co-authored-by: Paul Kendrick <[email protected]> * magnitude_to_decibel support for float16+float64 (#120) * magnitude_to_decibel support for float16+float64 The function kapre.backend.magnitude_to_decibel with the default arguments throws a TensorFlow type error if `x` is not `float32`. We can fix this by casting `amin` to `x`'s dtype. * Tests for magnitude_to_decibel dtype Floating point errors with `float16` require use to assert with a larger NumPy `rtol`, but otherwise it works. * add _tflite to the doc * update doc setup * add doc utility script * fix install requirement for docs * rtd * re-travis Co-authored-by: Paul Kendrick <[email protected]> Co-authored-by: Paul Kendrick <[email protected]> Co-authored-by: James Mishra <[email protected]>
- Loading branch information
1 parent
f41eb4b
commit 7643354
Showing
20 changed files
with
760 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
div.wy-nav-content { | ||
max-width: 1200px; | ||
max-width: 1000px; | ||
} | ||
|
||
code.literal { | ||
color: #404040 !important; | ||
background-color: #fbfbfb !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
sphinx!=1.3.1 | ||
sphinx_rtd_theme | ||
sphinxcontrib-napoleon | ||
sphinxcontrib-napoleon | ||
sphinxcontrib-inlinesyntaxhighlight |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
time_frequency_tflite | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. automodule:: kapre.time_frequency_tflite | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
__version__ = '0.3.4' | ||
__version__ = '0.3.5' | ||
VERSION = __version__ | ||
|
||
from . import composed | ||
from . import backend | ||
|
||
from .signal import * | ||
from .time_frequency import * | ||
from .time_frequency_tflite import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.