diff --git a/src/relay/op/tensor/unary.cc b/src/relay/op/tensor/unary.cc index 9922ca3d22125..c90ae3acbe333 100644 --- a/src/relay/op/tensor/unary.cc +++ b/src/relay/op/tensor/unary.cc @@ -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")