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("AcceleratorFunc", "unknown") .set_attr>("OutputShape", {}) .set_support_level(10) + .set_attr("TOpPattern", kOpaque) .add_type_rel("AcceleratorCall", AcceleratorCallRel); RELAY_REGISTER_UNARY_OP("isnan")