Skip to content

Commit e1a09bf

Browse files
committed
add tf.reverse
1 parent 410287e commit e1a09bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stubs/tensorflow/tensorflow/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ def ones_like(
447447
) -> RaggedTensor: ...
448448

449449
def reshape(tensor: TensorCompatible, shape: ShapeLike | Tensor, name: str | None = None) -> Tensor: ...
450+
def reverse(tensor: TensorCompatible, axis: IntTensorCompatible, name: str | None = None) -> Tensor: ...
450451
def map_fn(
451452
fn: Callable[TensorLike | TensorCompatible, TensorLike],
452453
elems: TensorLike | TensorCompatible,

0 commit comments

Comments
 (0)