Change formatting as requested by review in PR 15286
@@ -290,8 +290,8 @@ def model_to_dot(model,
[format_shape(ishape) for ishape in layer.input_shapes])
else:
inputlabels = '?'
- label = '%s|{input:|output:}|{{%s}|{%s}}' % (
- label, inputlabels, outputlabels)
+ label = f'{label}|{{input:|output:}}|' \
+ + f'{{{{{inputlabels}}}|{{{outputlabels}}}}}'
if not expand_nested or not isinstance(
layer, functional.Functional):
