Update two Wikipedia links (#19256)
authorRobin Richtsfeld <robin.richtsfeld@gmail.com>
Tue, 15 May 2018 18:33:52 +0000 (20:33 +0200)
committerRasmus Munk Larsen <rmlarsen@google.com>
Tue, 15 May 2018 18:33:52 +0000 (11:33 -0700)
tensorflow/contrib/signal/python/ops/window_ops.py

index 5009401..59e67e8 100644 (file)
@@ -47,7 +47,7 @@ def hann_window(window_length, periodic=True, dtype=dtypes.float32, name=None):
   Raises:
     ValueError: If `dtype` is not a floating point type.
 
-  [hann]: https://en.wikipedia.org/wiki/Window_function#Hann_window
+  [hann]: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows
   """
   return _raised_cosine_window(name, 'hann_window', window_length, periodic,
                                dtype, 0.5, 0.5)
@@ -72,7 +72,7 @@ def hamming_window(window_length, periodic=True, dtype=dtypes.float32,
   Raises:
     ValueError: If `dtype` is not a floating point type.
 
-  [hamming]: https://en.wikipedia.org/wiki/Window_function#Hamming_window
+  [hamming]: https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows
   """
   return _raised_cosine_window(name, 'hamming_window', window_length, periodic,
                                dtype, 0.54, 0.46)