Skip to content

Conversion from ONNX model fails with Relu #132

@victorromeo

Description

@victorromeo

Simple models with Relu fail when converting via ONNX frontend, as Relu shape and dtype information is missing (None).

May I please confirm if ONNX is intended to be supported?

frontend/onnx.python

... # [line277]
  @staticmethod
  def _handle_relu(op_info):
    input_tensor = op_info.input_tensors[0]
    op_info.output_tensors[0].dtype = input_tensor.dtype
    op_info.output_tensors[0].shape = input_tensor.shape[:]
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions