aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/signal/python
Commit message (Collapse)AuthorAge
* Remove usage of magic-api-link syntax from source files.Gravatar Mark Daoust2018-08-09
| | | | | | | | | | | | | | | | | | | | Back-ticks are now converted to links in the api_docs generator. With the new docs repo we're moving to simplify the docs pipeline, and make everything more readable. By doing this we no longer get test failures for symbols that don't exist (`tf.does_not_exist` will not get a link). There is also no way, not to set custom link text. That's okay. This is the result of the following regex replacement (+ a couple of manual edits.): re: @\{([^$].*?)(\$.+?)?} sub: `\1` Which does the following replacements: "@{tf.symbol}" --> "`tf.symbol`" "@{tf.symbol$link_text}" --> "`tf.symbol`" PiperOrigin-RevId: 208042358
* Quick return with simpler reshape op if the frame hop and frame length are ↵Gravatar A. Unique TensorFlower2018-08-09
| | | | | | statically known and their values are equal (i.e. no overlap). #tf-signal PiperOrigin-RevId: 208002136
* Remove float64 math in linear_to_mel_weight_matrix.Gravatar RJ Ryan2018-07-20
| | | | | | This was causing portability problems for platforms that do not support float64. Callers who want higher precision can simply pass tf.float64 as the dtype. PiperOrigin-RevId: 205457007
* Reduce Grappler overhead by skipping optimizers when the graph is tiny.Gravatar A. Unique TensorFlower2018-06-18
| | | | PiperOrigin-RevId: 201095811
* Enable fetching shapes from the C API by default.Gravatar Skye Wanderman-Milne2018-06-15
| | | | | | | | | | | | | | | | | Prior this change, we were using the C API for everything except Tensor.shape calls, which returned the result from the original Python shape inference code. With this change, we use the C API in this case as well. The C API has better shape inference, so this has the effect of returning more precise shapes in some cases. This change can be disabled by setting the environment variable TF_C_API_GRAPH_CONSTRUCTION_SHAPES=0. However, this toggle will be removed altogether in the near future. This also fixes a bug in the SWIG that could cause large shape dimensions to be incorrect. PiperOrigin-RevId: 200783822
* Merge changes from github.Gravatar Yifei Feng2018-05-24
| | | | | | | Revert #18413. Too many internal test failures due to the name scope change caused by this change. Revert #18192. Cannot use re2::StringPiece internally. Need alternative for set call. Will pull and clean this up in a separate change. PiperOrigin-RevId: 197991247
* Improve shape inference for tf.contrib.signal.frame.Gravatar RJ Ryan2018-05-01
| | | | PiperOrigin-RevId: 194972934
* Merge changes from github.Gravatar Yifei Feng2018-04-23
| | | | PiperOrigin-RevId: 194031845
* Fixed the shape function of the SplitV op that incorrectly often assumed thatGravatar Benoit Steiner2018-03-28
| | | | | | the shape of all the outputs is the same. PiperOrigin-RevId: 190879600
* Improved shape inference for reshapeGravatar Benoit Steiner2018-03-27
| | | | PiperOrigin-RevId: 190651873
* Merge changes from github.Gravatar Yifei Feng2018-02-22
| | | | PiperOrigin-RevId: 186674197
* [tf-signal] Fix exception when input shape is unknown in ↵Gravatar RJ Ryan2018-02-03
| | | | | | mfccs_from_log_mel_spectrograms. PiperOrigin-RevId: 184400783
* Add assertion to prevent generation of degenerate linear_to_mel_weight_matrix.Gravatar A. Unique TensorFlower2018-01-09
| | | | | | | | Prior to this change if upper_edge_hertz is larger than sample_rate / 2 (the highest frequency present in the linear spectrogram), the returned matrix would contain columns that are all zeros. This is likely a surprising result for those that are unfamiliar with signal processing, so it seems safer to raise an exception on such a misconfiguration than to silently allow users to generate poorly behaved features. PiperOrigin-RevId: 181407176
* Merge changes from github.Gravatar Raghuraman Krishnamoorthi2018-01-03
| | | | PiperOrigin-RevId: 180746153
* [tf-signal] Add inverse_stft_window_fn to tf.contrib.signal.Gravatar A. Unique TensorFlower2017-11-03
| | | | | | | | | | | | To reconstruct an original waveform, a complimentary window function should be used in inverse_stft. Such a window function can be constructed with tf.contrib.signal.inverse_stft_window_fn. Inlines and refactors the test for equivalence of inverse_stft and original waveform. Adds a test case that shows a large difference between inverse stft with and without complimentary window function. PiperOrigin-RevId: 174530978
* [tf-signal] Use tf.spectral.dct in mfccs_from_log_mel_spectrograms instead ↵Gravatar RJ Ryan2017-10-03
| | | | | | of a private implementation. PiperOrigin-RevId: 170943986
* [tf-signal] Add a test that windowing, framing, and mel ops are constant ↵Gravatar RJ Ryan2017-10-02
| | | | | | foldable for constant inputs. PiperOrigin-RevId: 170777731
* Improve a text comment related to MonitoredSession's hooks.Gravatar Igor Saprykin2017-10-02
| | | | | | session_run_hooks.py talks about "monitors", but I'm guessing what's meant is in fact "hooks". Am I right? PiperOrigin-RevId: 170753935
* PiperOrigin-RevId: 170752644Gravatar A. Unique TensorFlower2017-10-02
|
* [tf-signal] Add tf.contrib.signal.mfccs_from_log_mel_spectrograms.Gravatar RJ Ryan2017-10-02
| | | | PiperOrigin-RevId: 170753517
* [tf-signal] Remove checks that frame_length <= fft_length in stft and ↵Gravatar RJ Ryan2017-10-01
| | | | | | | | | | inverse_stft. Also add tests for stft/inverse_stft when the shape/rank of the inputs are unknown. Fixes GitHub Issue #13363. PiperOrigin-RevId: 170662530
* [tf-signal] Avoid conditionals in window functions if the window length is ↵Gravatar A. Unique TensorFlower2017-09-28
| | | | | | known statically. PiperOrigin-RevId: 170358086
* Compute static GCD where possible.Gravatar A. Unique TensorFlower2017-09-28
| | | | PiperOrigin-RevId: 170350852
* Fix broken GitHub links in tensorflow and tensorflow_models resulting from ↵Gravatar Neal Wu2017-09-22
| | | | | | The Great Models Move (a.k.a. the research subfolder) PiperOrigin-RevId: 169763373
* Add mel-scale conversion matrix support to tf.contrib.signal.Gravatar RJ Ryan2017-09-13
| | | | PiperOrigin-RevId: 168560255
* Relax tolerance to fix OSS test failure on MacOS.Gravatar A. Unique TensorFlower2017-08-09
| | | | PiperOrigin-RevId: 164728247
* Increase bound on tf.contrib.signal.inverse_stft gradient error to avoid ↵Gravatar RJ Ryan2017-07-27
| | | | | | flakiness on macOS. PiperOrigin-RevId: 163426631
* Make fft_length optional for inverse_stftGravatar A. Unique TensorFlower2017-07-25
| | | | PiperOrigin-RevId: 163127500
* Speed up tf.contrib.signal spectral_ops_test.py by reducing the size of the ↵Gravatar RJ Ryan2017-07-25
| | | | | | gradient test. PiperOrigin-RevId: 163092423
* Fix various mac flakes.Gravatar Jonathan Hseu2017-07-21
| | | | PiperOrigin-RevId: 162748291
* Documentation fixes and polishing for tf.contrib.signal.Gravatar RJ Ryan2017-07-20
| | | | PiperOrigin-RevId: 162658696
* Merge changes from github.Gravatar Jonathan Hseu2017-07-19
| | | | | | | | | | | | | | | | | END_PUBLIC --- Commit daa67ad17 authored by Jonathan Hseu<vomjom@vomjom.net> Committed by Frank Chen<frankchn@gmail.com>: Remove unittest import (#11596) --- Commit 491beb74c authored by A. Unique TensorFlower<gardener@tensorflow.org> Committed by TensorFlower Gardener<gardener@tensorflow.org>: BEGIN_PUBLIC Automated g4 rollback of changelist 162423171 PiperOrigin-RevId: 162541442
* Disable padding by default in tf.contrib.signal.stft to match ↵Gravatar RJ Ryan2017-07-19
| | | | | | tf.contrib.signal.frame. PiperOrigin-RevId: 162523648
* Add Short-time Fourier Transform (STFT) and inverse STFT support to ↵Gravatar RJ Ryan2017-07-19
| | | | | | | | tf.contrib.signal. These are implemented using GPU-capable ops and have gradient support. PiperOrigin-RevId: 162511440
* Add overlap_and_add to tf.contrib.signal.Gravatar RJ Ryan2017-07-14
| | | | | | This is the inverse operation of tf.contrib.signal.frame. This is implemented using GPU-capable ops and supports gradients. PiperOrigin-RevId: 162017464
* Add new features to tf.contrib.signal.frames:Gravatar RJ Ryan2017-07-14
| | | | | | | | | | | - Support arbitrary rank tensors. - Add an `axis` parameter for framing any axis. - Add a `pad_end` and `pad_value` parameter for controlling the signal padding. Padding is disabled by default to avoid a copy of a potentially large Tensor. - Support shape inference of resulting framed tensor. - Expand the tests, including tests for the gradients. - Since `frames` is a noun and not a verb, rename `frames` to `frame`. PiperOrigin-RevId: 161998921
* Add support for generating Hann and Hamming windows to tf.contrib.signal.Gravatar RJ Ryan2017-07-13
| | | | PiperOrigin-RevId: 161891114
* Merge changes from github.Gravatar Dan Ringwalt2017-05-05
Change: 155209832