-
Notifications
You must be signed in to change notification settings - Fork 68
[Bug] broadcast_shape parameter type error #85
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi!
I encounter this problem when I tried to optimize a onnx model. In
| new_shape = hidet.graph.ops.definitions.arithmetic.broadcast_shape(data.shape, new_shape) |
data.shape is a Tuple. And in the definition of broadcast_shape.
| x_shape = [1] + x_shape |
x_shape will be a Tuple. However, [1] + x_shape will raise an error TypeError: can only concatenate list (not "tuple") to list.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working