From 1890d2765bfa4ce7d0b1d26ff3f048c7be334943 Mon Sep 17 00:00:00 2001 From: Vytautas Abramavicius <145791635+vytautas-a@users.noreply.github.com> Date: Mon, 2 Sep 2024 14:13:51 +0300 Subject: [PATCH] Update pyqtorch/utils.py Co-authored-by: Roland-djee <9250798+Roland-djee@users.noreply.github.com> --- pyqtorch/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqtorch/utils.py b/pyqtorch/utils.py index bb6bb3a6..4d3e26be 100644 --- a/pyqtorch/utils.py +++ b/pyqtorch/utils.py @@ -754,6 +754,6 @@ def is_parametric(operation: pyq.Sequence) -> bool: params.append(m.param_name) res = False - if any([isinstance(p, str) for p in params]): + if any(isinstance(p, str) for p in params): res = True return res