0

I customized a class by referring to the official openvino document. This is my class. code copy from here. When I use this class in Post processing Customize operations, it throws an error: what(): Operation: output_name0 of type Identity(op::v0) is not supported

    ppp.output().postprocess()
//  .convert_layout("NHWC")
//  .convert_element_type(ov::element::u8)
    .custom([](const ov::Output<ov::Node>& node) {
         return std::make_shared<TemplateExtension::Identity>(node);
        });

Here I learn how to use openvino Post-processing Customize operations.

Please help me how to use my custom operator in Post-processing Customize operations!!

0

1 Answer 1

0

return std::make_shared<TemplateExtension::Identity>(node); doesn't contain any value. You need to use return std::make_shared<ov::opset8::Abs>(node);.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.