We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee1add commit 2b124e8Copy full SHA for 2b124e8
pytensor/compile/function/__init__.py
@@ -303,8 +303,7 @@ def opt_log1p(node):
303
"contained in a list, even when there is a single "
304
"input."
305
)
306
- if len(inputs) == 0:
307
- trust_input = True # we can trust the empty input (for speed)
+
308
# compute some features of the arguments:
309
uses_tuple = any(isinstance(i, list | tuple) for i in inputs)
310
uses_updates = bool(updates)
0 commit comments