message: Correctly access layer attributes.
diff: @@ -197,7 +197,7 @@ def model_to_dot(model,
  else:
  return str(dtype)
  - label = '%s|%s' % (label, format_dtype(dtype))
  + label = '%s|%s' % (label, format_dtype(layer.dtype))
  # Rebuild the label as a table including input/output shapes.
  if show_shapes:
  