-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
pythonIssues related to Halide/Python interopIssues related to Halide/Python interop
Description
>>> from halide import ImageParam
>>> ImageParam()
Traceback (most recent call last):
File "<python-input-10>", line 1, in <module>
ImageParam()
~~~~~~~~~~^^
halide.halide_.HalideError: Error: Parameter is undefined
However the default constructor is valid per the docs
No error is thrown when not printing as shown here
>>> a = ImageParam()
>>> a
Traceback (most recent call last):
File "<python-input-12>", line 1, in <module>
a
halide.halide_.HalideError: Error: Parameter is undefined
Suggesting there is a missing check for an undefined Parameter structure when printing
Installation details:
- Halide version
20.0.0.dev86installed via pip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pythonIssues related to Halide/Python interopIssues related to Halide/Python interop