Skip to content

'func.func' is unknown #57

@kobeyu

Description

@kobeyu

Hi
I rollback to commit 7feb80 for onnx to hls, but scalehls-opt shows the error message:

lenet.onnx.mlir:14:3: error: custom op 'func.func' is unknown
func.func @main_graph(%arg0: memref<1x3x32x32xf32>) -> memref<1x10xf32> attributes {input_names = ["input.1"], llvm.emit_c_interface, output_names = ["18"]} {

may I ask which commit of onnx-mlir and llvm(mlir for onnx-mlir) should I use for onnx model?

mlir of lenet: https://drive.google.com/file/d/1mchlqAhFy-gfCnnc6EkoNlvw7ZNV2Ga3/view?usp=sharing

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