Skip to content

Commit

Permalink
fix: fixed the maximum at tensorflow frontend (ivy-llc#28375)
Browse files Browse the repository at this point in the history
  • Loading branch information
samthakur587 authored Feb 26, 2024
1 parent c982cc8 commit 6579c75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ivy/functional/frontends/tensorflow/math.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ def logical_xor(x, y, name="LogicalXor"):


@to_ivy_arrays_and_back
@with_unsupported_dtypes({"2.15.0 and below": ("complex",)}, "tensorflow")
def maximum(x, y, name=None):
return ivy.maximum(x, y)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1793,7 +1793,7 @@ def test_tensorflow_logical_xor(
@handle_frontend_test(
fn_tree="tensorflow.math.maximum",
dtype_and_x=helpers.dtype_and_values(
available_dtypes=helpers.get_dtypes("float"),
available_dtypes=helpers.get_dtypes("numeric"),
num_arrays=2,
shared_dtype=True,
),
Expand Down

0 comments on commit 6579c75

Please sign in to comment.