Skip to content

Commit d3bb62c

Browse files
committed
chore(layer): explicit bracket in bool cond
1 parent d9cda6a commit d3bb62c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hgq/layers/core/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def call(self, *args, **kwargs):
9292
else:
9393
training = kwargs.pop('training', None)
9494
r = original_call(self, *args, **kwargs)
95-
if training or training == 'tracing' and self.enable_ebops: # noqa: E712, training may be a special wrapper object
95+
if (training or training == 'tracing') and self.enable_ebops: # noqa: E712, training may be a special wrapper object
9696
if isinstance(args[0], (tuple, list)):
9797
tensors = args[0]
9898
else:

0 commit comments

Comments
 (0)