Unverified Commit 34696b14 authored by Krishna Kalyan's avatar Krishna Kalyan Committed by GitHub
Browse files

Argument in griffinlim is not used (#1036)


Co-authored-by: default avatarkrishnakalyan3 <skalyan@cloudera.com>
parent b5c16d33
......@@ -139,6 +139,12 @@ def griffinlim(
assert momentum < 1, 'momentum={} > 1 can be unstable'.format(momentum)
assert momentum >= 0, 'momentum={} < 0'.format(momentum)
if normalized:
warnings.warn(
"The argument normalized is not used in Griffin-Lim, "
"and will be removed in v0.9.0 release. To suppress this warning, "
"please use `normalized=False`.")
# pack batch
shape = specgram.size()
specgram = specgram.reshape([-1] + list(shape[-2:]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment