Skip to content

fix psa psr accuracy issue#449

Merged
sfatimar merged 1 commit intoovep-develop-lnl-1.2from
psa_psr_accuracy
Sep 23, 2024
Merged

fix psa psr accuracy issue#449
sfatimar merged 1 commit intoovep-develop-lnl-1.2from
psa_psr_accuracy

Conversation

@saurabhkale17
Copy link

@saurabhkale17 saurabhkale17 commented Sep 23, 2024

@sfatimar
Copy link

Line no 566 if (const auto& it = ort_ov_tensor_map.find(ort_tensor_key); it != ort_ov_tensor_map.end()) {
ov_tensor_data = it->second; This should also not be there

ov_tensor_key.tensor_ptr = std::make_shared<ov::Tensor>(input.get_element_type(), input.get_shape());
}
ort_ov_tensor_map.emplace(ort_tensor_key, ov_tensor_key);
ort_ov_tensor_map[ort_tensor_key] = ov_tensor_key;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be initialized if not used

@sfatimar
Copy link

LGTM

1 similar comment
@sfatimar
Copy link

LGTM

@sfatimar sfatimar merged commit 1bb8ed3 into ovep-develop-lnl-1.2 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants