From 169f785096911f71e775009968805d8dd6c1525a Mon Sep 17 00:00:00 2001 From: Hoel Bagard Date: Sun, 29 Dec 2024 10:27:16 +0900 Subject: [PATCH] add tensorflow.signal.hamming_window --- stubs/tensorflow/tensorflow/signal.pyi | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 stubs/tensorflow/tensorflow/signal.pyi diff --git a/stubs/tensorflow/tensorflow/signal.pyi b/stubs/tensorflow/tensorflow/signal.pyi new file mode 100644 index 000000000000..c0ce254f1e36 --- /dev/null +++ b/stubs/tensorflow/tensorflow/signal.pyi @@ -0,0 +1,6 @@ +from tensorflow import Tensor +from tensorflow._aliases import DTypeLike, TensorCompatible + +def hamming_window( + window_length: TensorCompatible, periodic: bool | TensorCompatible = True, dtype: DTypeLike = ..., name: str | None = None +) -> Tensor: ...