We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b1d3e4 commit 838729aCopy full SHA for 838729a
python/paddle/jit/sot/opcode_translator/executor/variables/callable.py
@@ -369,7 +369,9 @@ def __init__(
369
def call_function(self, /, *args, **kwargs):
370
if is_break_graph_tensor_methods(self.method_name):
371
raise BreakGraphError(
372
- DataDependencyOperationBreak("call break_graph_tensor_method.")
+ DataDependencyOperationBreak(
373
+ f"Calling `Tensor.{self.method_name}` causes breakgraph."
374
+ )
375
)
376
return self.graph.call_tensor_method(self.method_name, *args, **kwargs)
377
0 commit comments