File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ class Subgraph : public ov::op::util::SubGraphOp {
132
132
// should have explicit Constants even if they're non-scalar (Reshape, Transpose, Broadcast)
133
133
// This check returns True if Constant op which is input of this op should be inside Subgraph body
134
134
static auto constant_input_should_be_inside_body (const std::shared_ptr<ov::Node>& node) -> bool;
135
- static bool check_broadcast (const std::shared_ptr<const ov::Node>& node) noexcept ;
135
+ static bool check_broadcast (const std::shared_ptr<const ov::Node>& node);
136
136
// Return estimated unique buffer count (upper bound). It's needed for tokenization
137
137
static auto get_estimated_buffer_count (const ov::NodeVector& ops) -> size_t;
138
138
static auto is_domain_sensitive_op (const std::shared_ptr<ov::Node>& op) -> bool;
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ void BufferExpression::init_allocation_size(const std::shared_ptr<LoopManager>&
71
71
const auto & parent_loop_ids = get_parent_inner_loops (parent_port.get_expr ()->get_loop_ids (), get_loop_ids ());
72
72
const auto planar_shape = utils::get_preordered_vdims (parent_port);
73
73
74
- const size_t rank = allocation_rank >= 0 ? std::min ( static_cast < size_t >(allocation_rank), planar_shape. size ())
75
- : planar_shape.size ();
74
+ OPENVINO_ASSERT ( allocation_rank > 0 , " Allocation size must be positive " );
75
+ const size_t rank = std::min ( static_cast < size_t >(allocation_rank), planar_shape.size () );
76
76
77
77
const auto & subtensor = ov::snippets::utils::get_projected_subtensor (parent_port);
78
78
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ auto Subgraph::constant_input_should_be_inside_body(const std::shared_ptr<ov::No
289
289
node);
290
290
}
291
291
292
- bool Subgraph::check_broadcast (const std::shared_ptr<const ov::Node>& node) noexcept {
292
+ bool Subgraph::check_broadcast (const std::shared_ptr<const ov::Node>& node) {
293
293
const auto elementwise = ov::as_type_ptr<const ov::op::util::BinaryElementwiseArithmetic>(node);
294
294
return
295
295
(elementwise == nullptr ) ||
You can’t perform that action at this time.
0 commit comments