Skip to content
Snippets Groups Projects
Commit cab343af authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Core] allow empty string to act as node by node mode for toplvl

parent b9ace36c
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ def execute_onnx(model, input_dict, return_full_exec_context=False):
# if set to "remote_pynq" execute model on PYNQ board
# if set to "rtlsim" execute model using pyverilator
model_exec_mode = model.get_metadata_prop("exec_mode")
if model_exec_mode is None:
if (model_exec_mode is None) or (model_exec_mode == ""):
# execute the model node by node
# we can simply walk down the list since the ONNX spec guarantees that it is
# topologically sorted
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment