-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bell/fix onnx multi output failure #10
base: river/fix_segmentfault_plugin_api_2.0
Are you sure you want to change the base?
Bell/fix onnx multi output failure #10
Conversation
Signed-off-by: fishbell <bell.song@intel.com>
Signed-off-by: fishbell <bell.song@intel.com>
Signed-off-by: fishbell <bell.song@intel.com>
Signed-off-by: fishbell <bell.song@intel.com>
* Added functional tests for SpaceToBatch and BatchToSpace * Added functional tests for template plugin
@@ -263,10 +263,10 @@ void ov::ISyncInferRequest::allocate_tensor(const ov::Output<const ov::Node>& po | |||
void ov::ISyncInferRequest::check_tensors() const { | |||
const auto& inputs = m_compiled_model->inputs(); | |||
for (size_t i = 0; i < inputs.size(); i++) { | |||
check_tensor(inputs[i], m_tensors.at(inputs[i].get_tensor_ptr())); | |||
check_tensor(inputs[i], get_ref_tensor(inputs[i])); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_ref_tensor() can avoid tensor mismatch issue, but m_tensors.at(inputs[i].get_tensor_ptr())
itself should not have any problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can see that the compiled_mode are different:
-
If create input/output port, the final compile model, do in this PR, the final compile model will keep no change after tranformation
It seems that create input/output port will effect on the transformation, it is surprising.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you remove the lines of set_names?
Signed-off-by: fishbell <bell.song@intel.com>
…b.com/riverlijunjie/openvino-1 into bell/fix_onnx_multi_output_failure
…into bell/fix_onnx_multi_output_failure
Signed-off-by: fishbell <bell.song@intel.com>
Details:
Tickets: