-
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
[WIP] Use absl inline vector for Shape, Strides #28756
base: master
Are you sure you want to change the base?
[WIP] Use absl inline vector for Shape, Strides #28756
Conversation
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
…-vector-for-type-based-on-vector
@@ -59,7 +59,7 @@ void ZeroTensor::update_strides() const { | |||
|
|||
auto& shape = get_shape(); | |||
if (_strides.empty() && !shape.empty()) { | |||
_strides.resize(shape.size()); | |||
_strides.resize(shape.size(), {}); |
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.
Can you add the same change to https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/intel_npu/src/common/src/remote_tensor.cpp#L64 please?
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.
This is draft for testing, so will apply it if solution will give some improvements
…-vector-for-type-based-on-vector
Details:
Tickets: