Skip to content

Commit

Permalink
Merge pull request #549 from BUG1989/disable_deconv
Browse files Browse the repository at this point in the history
disable the deconv perf op with arm platform
  • Loading branch information
daquexian committed Feb 13, 2021
2 parents 9a0bcd4 + 149930c commit 19c14d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dev/cpu/op/deconv/deconv_dw_hcl_arm.c
Expand Up @@ -100,7 +100,7 @@ static int score(struct node_ops* node_ops, struct exec_graph* exec_graph, struc
int out_c = output_tensor->dims[1] / group;

if (param->group > 1 && in_c == 1 && out_c == 1)
return OPS_SCORE_BEST;
return 0;
else
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/dev/cpu/op/deconv/deconv_hcl_arm.c
Expand Up @@ -142,7 +142,7 @@ static int release_node(struct node_ops* node_ops, struct exec_node* exec_node,

static int score(struct node_ops* node_ops, struct exec_graph* exec_graph, struct ir_node* exec_node)
{
return OPS_SCORE_PREFER;
return 0;
}

static struct node_ops hcl_node_ops = {.prerun = prerun,
Expand Down

0 comments on commit 19c14d3

Please sign in to comment.