Skip to content

Could we use tf2onnx optimizer to simplify an existed onnx model? #1536

@wm2012011492

Description

@wm2012011492

Describe the bug
I'm looking for a stable and powerful graph optimizer for existed onnx models (i.e. generated by pytorch). In my opinion, the open-sourced ONNX Optimizer often gets in trouble like segment fault (like unsupported op). tf2onnx optimizer seems a good candidate except that we are in lack of the load_from_onnx interface now. Since the ir of raw onnx graph and tf2onnx graph is pretty different, how could we implement the load_from_onnx()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions