Skip to content

Commit

Permalink
auto-lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-dev-bot committed Aug 13, 2024
1 parent 327beb1 commit 5527a75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ivy/utils/decorator_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,10 @@ def transpose_wrapper(self, *args, **kwargs):
handle_transpose_in_input_and_output.__signature__ = original_signature
return transpose_wrapper


# TODO: temp fix for `ivy.inplace_update`. Dont quite understand the way this function
# has been implemented in the backends as it seems to also have ivy.Array specific logic.
# In the case where both x, and val are arrays, it simply returns x (why??)
# perhaps we can rewrite it in a cleaner format and then remove this fix
def dummy_inplace_update(x, val, /, *, ensure_in_backend=False, keep_input_dtype=False):
return val
return val

0 comments on commit 5527a75

Please sign in to comment.