Skip to content
Snippets Groups Projects
Commit 61b71dd0 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Improve shape derivation error msg

parent 36251469
No related branches found
No related tags found
No related merge requests found
......@@ -1262,6 +1262,9 @@ def guess_arg_shape_if_requested(kernel, default_order):
"argument '%s', the following "
"exception occurred:" % (i, arg.name),
file=sys.stderr)
print("*** ADVICE: You may need to manually specify the "
"shape of argument '%s'." % (arg.name),
file=sys.stderr)
raise
shape = tuple(shape)
......
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