Skip to content

Commit

Permalink
Add TOpPattern flag to accelerator_call op (apache#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
slyubomirsky authored and gussmith23 committed Dec 29, 2021
1 parent ce0ad7d commit 7c7ca4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/relay/op/tensor/unary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ RELAY_REGISTER_OP("accelerator_call")
.set_attr<String>("AcceleratorFunc", "unknown")
.set_attr<Array<Integer>>("OutputShape", {})
.set_support_level(10)
.set_attr<TOpPattern>("TOpPattern", kOpaque)
.add_type_rel("AcceleratorCall", AcceleratorCallRel);

RELAY_REGISTER_UNARY_OP("isnan")
Expand Down

0 comments on commit 7c7ca4c

Please sign in to comment.