We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c59ba4 commit 6247d07Copy full SHA for 6247d07
src/Builder/FrontendDialectTransformer.cpp
@@ -916,6 +916,11 @@ class FrontendGenImpl {
916
<< " contains subgraph attributes but does not "
917
"implement HasOnnxSubgraphOpInterface interface. The "
918
"subgraph will be dropped.\n";
919
+ if constexpr (!std::is_same_v<T, ONNXCustomOp>) {
920
+ assert(false && "Not-custom ops must implement "
921
+ "HasOnnxSubgraphOpInterface if they have "
922
+ "subgraph attributes.");
923
+ }
924
continue;
925
}
926
auto opWithSubgraph =
0 commit comments