Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Mikolajczyk <[email protected]>
  • Loading branch information
mmikolajcz committed Dec 18, 2024
1 parent cf599f0 commit 58bfb56
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/plugins/intel_cpu/src/nodes/strided_slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,10 @@ bool StridedSlice::needShapeInfer() const {
void StridedSlice::execute(dnnl::stream strm) {
if (!execPtr) {
if (!isDynamicNode() && !hasConstAttrInputs) {
// SliceScatter due to not having data dependency on shape may not call prepareParams when start/stop/step values are non-constant in Static execution.
// In Slice and SliceScatter op, prepareParams would be called by createPrimitive (if const inputs) or by updateDynamicParams in case of dynamic node.
StridedSlice::prepareParams();
// SliceScatter due to not having data dependency on shape may not call prepareParams when start/stop/step
// values are non-constant in Static execution. In Slice and SliceScatter op, prepareParams would be called
// by createPrimitive (if const inputs) or by updateDynamicParams in case of dynamic node.
StridedSlice::prepareParams();
} else {
OPENVINO_THROW(errorPrefix, "doesn't have compiled executor!");
}
Expand Down

0 comments on commit 58bfb56

Please sign in to comment.