8000 [Bug] broadcast_shape parameter type error · Issue #85 · hidet-org/hidet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug] broadcast_shape parameter type error #85
Closed
@soodoshll

Description

@soodoshll

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0