File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,11 +192,11 @@ def _check_tensor_args_matching_op_allowed_dtype(gm: GraphModule) -> None:
192192 error_msg = ""
193193 for op , node in validator .violating_ops .items ():
194194 # error_msg += f"#####################################################\n"
195- error_msg += f"Operator : { op } with args: { node [0 ]} \n "
196- error_msg += f"stack trace: { node [1 ].stack_trace } \n \n "
195+ error_msg += f"\n Operator : { op } with args: { node [0 ]} \n "
196+ error_msg += f"stack trace: { node [1 ].stack_trace } \n "
197197 # error_msg += f"#####################################################\n"
198198 raise SpecViolationError (
199- f"These operators are taking Tensor inputs with mismatched dtypes:\n { error_msg } \n "
199+ f"These operators are taking Tensor inputs with mismatched dtypes:\n { error_msg } "
200200 "Please make sure the dtypes of the Tensor inputs are the same as the dtypes of the corresponding outputs."
201201 )
202202
You can’t perform that action at this time.
0 commit comments