Skip to content

[FRONTEND][ONNX] 'Shape' operator not implemented #1297

@rajh619

Description

@rajh619

I have an Alexnet-ONNX model converted from Tensorflow which contains 'Shape' operator.
Unfortunately while loading in nnvm , it fails with NotImplementedError: Operator Shape not implemented.
and i couldn't find the same in nnvm.symbol (nnvm tensor operator api).
Basically 'Shape' operator (as specified in onnx operator List ) is to infer the shape of input tensor as 1D int64 output tensor .
Is there any alternative way to output the shape in 1D int64 tensor in onnx frontend ?

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