Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: yuan.xiong <[email protected]>
  • Loading branch information
yuanxion committed Dec 12, 2024
1 parent 457a67a commit ddc6af4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ void mark_shape_of_subgraphs::look_for_shape_of_subgraph(program_node& node) {
if (node.is_type<broadcast>() && dependencies.size() == 2) {
if (dependencies[0].first->is_type<data>() && dependencies[1].first->is_type<shape_of>())
return;
}

// Check if all dependencies are constant or marked as a part of shape_of subgraph
bool can_execute_in_subgraph = true;
bool has_shape_of_subgraph_dep = false;

for (auto& dependency : node.get_dependencies()) {
if (dependency.first->is_in_shape_of_subgraph()) {
has_shape_of_subgraph_dep = true;
Expand Down

0 comments on commit ddc6af4

Please sign in to comment.