return graph
-# We accept dictionnaries and strings as ONNX inputs,
+# We accept dictionaries and strings as ONNX inputs,
# but they should be only for configuration use.
# we detect here if these inputs are modified, and if so
# we warn the user that the changes won't take effect in the
for input, traced_input in zip(input_states[0], input_states[1]):
if isinstance(input, dict):
if list(input.keys()) != list(traced_input.keys()):
- warning = "We detected that you are modifying a dictionnary that is an input to your " \
+ warning = "We detected that you are modifying a dictionary that is an input to your " \
"model. " \
"Note that dictionaries are allowed as inputs in ONNX but they should be " \
"handled with care. " \