Skip to content

Commit

Permalink
fix: Added the missing parenthesis to avoid comparison with a callabl…
Browse files Browse the repository at this point in the history
…e. (#25973)

Co-authored-by: zaeemansari70 <[email protected]>
  • Loading branch information
Sai-Suraj-27 and zaeemansari70 authored Sep 29, 2023
1 parent 58ee8a3 commit 536c5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ivy/functional/ivy/experimental/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2528,7 +2528,7 @@ def sliding_window(
padding=padding,
)

if ivy.current_backend_str == "tensorflow":
if ivy.current_backend_str() == "tensorflow":
return ivy.current_backend(input).sliding_window(
input,
kernel_size,
Expand All @@ -2537,7 +2537,7 @@ def sliding_window(
padding=padding,
)

if ivy.current_backend_str == "paddle":
if ivy.current_backend_str() == "paddle":
return ivy.current_backend(input).sliding_window(
input,
kernel_size,
Expand Down

0 comments on commit 536c5a4

Please sign in to comment.