Skip to content

Commit

Permalink
add tf.where
Browse files Browse the repository at this point in the history
  • Loading branch information
hoel-bagard committed Jan 5, 2025
1 parent 89d1bcb commit 4e678f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stubs/tensorflow/tensorflow/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -412,4 +412,7 @@ def pad(
name: str | None = None,
) -> Tensor: ...
def shape(input: TensorCompatible, out_type: DTypeLike | None = None, name: str | None = None) -> Tensor: ...
def where(
condition: TensorCompatible, x: TensorCompatible | None = None, y: TensorCompatible | None = None, name: str | None = None
) -> Tensor: ...
def __getattr__(name: str) -> Incomplete: ...

0 comments on commit 4e678f2

Please sign in to comment.