提交 90e794c0 authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Simplify a warning message in AddDestroyHandler

上级 cc70b958
......@@ -137,9 +137,7 @@ class AddDestroyHandler(GlobalOptimizer):
break
if not supervisor_added:
warnings.warn(
"Supervisor is not added. Please build a FunctionGraph"
"via aesara.compile.function.types.std_graph()"
"or add the Supervisor class manually.",
f"A Supervisor feature is missing from {fgraph}.",
stacklevel=3,
)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论