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 6bea970 commit 9b0b5d6Copy full SHA for 9b0b5d6
onnx_array_api/plotting/text_plot.py
@@ -766,6 +766,8 @@ def str_node(indent, node):
766
val = val[:10] + "..."
767
elif att.type == AttributeProto.STRING:
768
val = str(att.s)
769
+ if len(val) > 50:
770
+ val = val[:40] + "..." + val[-10:]
771
elif att.type == AttributeProto.STRINGS:
772
n_val = list(att.strings)
773
if len(n_val) < 5:
0 commit comments