From 68ae4932977d4b95c94887b98e2837ad9cc80306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=ABl=20Bagard?= <34478245+hoel-bagard@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:55:24 +0900 Subject: [PATCH] `tensorflow`: add `tensorflow.math.reduce_variance` (#11328) --- stubs/tensorflow/tensorflow/math.pyi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stubs/tensorflow/tensorflow/math.pyi b/stubs/tensorflow/tensorflow/math.pyi index 66fc425db..d26f45896 100644 --- a/stubs/tensorflow/tensorflow/math.pyi +++ b/stubs/tensorflow/tensorflow/math.pyi @@ -252,6 +252,12 @@ def reduce_std( keepdims: bool = False, name: str | None = None, ) -> Tensor: ... +def reduce_variance( + input_tensor: _TensorCompatible | RaggedTensor, + axis: _TensorCompatible | None = None, + keepdims: bool = False, + name: str | None = None, +) -> Tensor: ... def argmax( input: _TensorCompatible, axis: _TensorCompatible | None = None, output_type: _DTypeLike = ..., name: str | None = None ) -> Tensor: ...