已开启
[cleancode]dynamic_rnn超大头文件问题 #5855
luojiangtao创建于  9月14日
luojiangtao成员
9月14日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

dynamic_rnn/op_kernel/dynamic_rnn_common.h 超过 600 行,包含宏/常量/结构体定义与 LstmMmSplitNDNDBase 模板类的全部成员函数实现,文件过大不利于维护。

Environment Information / 环境信息 (Mandatory / 必填)

CANN9.2.0

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

无

Describe the expected behavior / 预期结果 (Mandatory / 必填)

头文件在500行以内

无

Special notes for this issue/备注 (Optional / 选填)

likedislike
Lluojiangtao成员
9月14日 添加了label:bug-report
Lluojiangtao成员
9月14日 关联了pull request:重构(dynamic_rnn): 拆分超大头文件 dynamic_rnn_common.h
Lluojiangtao成员
9月14日 关联了pull request:重构(dynamic_rnn): 拆分超大头文件 dynamic_rnn_common.h
yuning_chenyuning_chen成员
9月14日 将 xiafengkou 设为负责人
Lluojiangtao成员
9月14日 关联了pull request:重构(dynamic_rnn): 拆分超大头文件 dynamic_rnn_common.h