-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Deprecated API] Remove api set_element_type() in ov::descriptor::Tensor #22476
[Deprecated API] Remove api set_element_type() in ov::descriptor::Tensor #22476
Conversation
Signed-off-by: xuejun <xuejun.zhai@intel.com>
b41277d
to
7be1980
Compare
out_hidden.get_tensor().set_element_type(element_type); | ||
out_cell.get_tensor().set_element_type(element_type); |
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.
@itikhono was set_element_type()
really required? May it be just removed from test instead of replacing?
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
for (auto& item : get_output_descriptor(i).get_tensor_ptr()->get_rt_info()) { | ||
tmp_tensor->get_rt_info()[item.first] = item.second; | ||
} | ||
get_output_descriptor(i).set_tensor_ptr(tmp_tensor); |
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.
@ilya-lavrenov @vurusovs Why we need to deprecated this API? Seems like this change will take more time & more complex.
Replaced by #22645 |
Details:
Tickets: