TransData算子识别

输出推荐消除的TransData算子列表,如图1

图1 TransDataModel

====TransDataModel====

Transdata operators need to be optimized. Total time of TransData task is 328.334000(us), accounted for 0.509758% of the total Tasks.

TransData算子总时长328.334000(us),占所有任务时间占比0.509758%。

Type of TransData[Ops_Not_Support_Heavy_Format] accounted for 0.263531% of the total time.

TransData类型[Ops_Not_Support_Heavy_Format] 占总时间比例 2.682611%。

Op Name: trans_TransData_13; Task Duration(us): 91.146000; Input Formats: FRACTAL_NZ; Output Formats: FORMAT_ND;

算子名: trans_TransData_13; 持续时间(us): 91.146000; 输入格式: FRACTAL_NZ; 输出格式: FORMAT_ND;

...

Recommendations of Ops_Not_Support_Heavy_Format

Ops_Not_Support_Heavy_Format的优化建议:

1. Modify the operation to support heavy format.

修改算子以支持重型格式(5HD/NZ等)。

Type of TransData[Other_Transform] accounted for 0.246226% of the total time.

TransData类型[Other_Transform]占总时间比例0.246226%。

Op Name: trans_TransData_16; Task Duration(us): 50.938000; Input Formats: FORMAT_ND; Output Formats: FRACTAL_NZ;

算子名: trans_TransData_16; Task Duration(us): 50.938000; 输入格式: FORMAT_ND; 输出格式: FRACTAL_NZ;

...

Recommendations of Other_Transform

Other_Transform的优化建议

1. It is a reasonable scenario that transdata operation exists, for example, 4D to 5D before Conv2D.

这是TransData合理存在的场景,比如在Conv2D算子之前,需要把格式由4D转为5D。