未验证 提交 e0fadd82 编写于 作者: N niuliling123 提交者: GitHub

Delete invalid comment in layout autotune (#46881)

上级 34c7e3e3
...@@ -1093,7 +1093,7 @@ class DygraphForwardFunctionGenerator(DygraphFunctionGeneratorBase): ...@@ -1093,7 +1093,7 @@ class DygraphForwardFunctionGenerator(DygraphFunctionGeneratorBase):
tensors_vector_list_str = "{ " + ",".join( tensors_vector_list_str = "{ " + ",".join(
amp_tensors_vector_list) + " }" amp_tensors_vector_list) + " }"
if len(amp_tensors_vector_list) == 0: # or forward_api_name == "shape": if len(amp_tensors_vector_list) == 0:
layout_logic_str = "" layout_logic_str = ""
else: else:
after_call_str = f"{returns_type_str} {result_name} = {forward_function_name}({layout_inputs_call_args_str});\n" after_call_str = f"{returns_type_str} {result_name} = {forward_function_name}({layout_inputs_call_args_str});\n"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册