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 9b41c28 commit e751726Copy full SHA for e751726
backends/openvino/preprocess.py
@@ -41,7 +41,7 @@ def preprocess(
41
transformed_ep = RemoveCloneOpsTransform()(edge_program.graph_module)
42
43
# Update the edge_program with the transformed graph
44
- if transformed_ep.graph_module is not None:
+ if transformed_ep and transformed_ep.graph_module:
45
edge_program._graph_module = transformed_ep.graph_module
46
47
input_names = edge_program.graph_signature.user_inputs
0 commit comments