Merged
docs: 修复注释与代码不一致(文件头文件名) #6496
TangPCAdd on 22 days ago
docs: 修复注释与代码不一致(文件头文件名) #6496
Merged
Total: 2 files changed+6-7
| @@ -9,7 +9,7 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /*! | 11 | /*! |
| 12 | - * \file concat_graph_infer.h | 12 | + * \file concat_d_graph_infer.cpp |
| 13 | * \brief | 13 | * \brief |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| @@ -9,7 +9,7 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | /*! | 11 | /*! |
| 12 | - * \file cast_proto.h | 12 | + * \file abs_proto.h |
| 13 | * \brief | 13 | * \brief |
| 14 | */ | 14 | */ |
| 15 | #ifndef OP_PROTO_ABS_PROTO_H_ | 15 | #ifndef OP_PROTO_ABS_PROTO_H_ |
| @@ -17,8 +17,7 @@ | |||
| 17 | 17 | ||
| 18 | #include "graph/operator_reg.h" | 18 | #include "graph/operator_reg.h" |
| 19 | 19 | ||
| 20 | -namespace ge | 20 | +namespace ge { |
| 21 | -{ | ||
| 22 | /** | 21 | /** |
| 23 | *@brief Computes the absolute value of a tensor. | 22 | *@brief Computes the absolute value of a tensor. |
| 24 | 23 | ||
| @@ -36,9 +35,9 @@ namespace ge | |||
| 36 | REG_OP(Abs) | 35 | REG_OP(Abs) |
| 37 | .INPUT(x, "T") | 36 | .INPUT(x, "T") |
| 38 | .OUTPUT(y, "T") | 37 | .OUTPUT(y, "T") |
| 39 | - .DATATYPE(T, TensorType({DT_UINT8, DT_BOOL, DT_FLOAT16, DT_BF16, DT_FLOAT, DT_DOUBLE, DT_INT8, DT_INT16, | 38 | + .DATATYPE(T, TensorType({DT_UINT8, DT_BOOL, DT_FLOAT16, DT_BF16, DT_FLOAT, DT_DOUBLE, DT_INT8, DT_INT16, DT_INT32, |
| 40 | - DT_INT32, DT_INT64, DT_COMPLEX32, DT_COMPLEX64})) | 39 | + DT_INT64, DT_COMPLEX32, DT_COMPLEX64})) |
| 41 | .OP_END_FACTORY_REG(Abs) | 40 | .OP_END_FACTORY_REG(Abs) |
| 42 | 41 | ||
| 43 | } // namespace ge | 42 | } // namespace ge |
| 44 | -#endif // OP_PROTO_ABS_PROTO_H_ | 43 | +#endif // OP_PROTO_ABS_PROTO_H_ |