Skip to content

Commit e751726

Browse files
committed
formatting fix
1 parent 9b41c28 commit e751726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/openvino/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def preprocess(
4141
transformed_ep = RemoveCloneOpsTransform()(edge_program.graph_module)
4242

4343
# Update the edge_program with the transformed graph
44-
if transformed_ep.graph_module is not None:
44+
if transformed_ep and transformed_ep.graph_module:
4545
edge_program._graph_module = transformed_ep.graph_module
4646

4747
input_names = edge_program.graph_signature.user_inputs

0 commit comments

Comments
 (0)