已合并
fix: update bucketize example and avg pool doc #7852
zhaowenrui创建于 7月23日
fix: update bucketize example and avg pool doc #7852
已合并
共 2 个文件变更+1-2
| @@ -30,7 +30,6 @@ namespace { | |||
| 30 | constexpr int kFailed = -1; | 30 | constexpr int kFailed = -1; |
| 31 | constexpr int kSuccess = 0; | 31 | constexpr int kSuccess = 0; |
| 32 | constexpr uint32_t kDeviceId = 0; | 32 | constexpr uint32_t kDeviceId = 0; |
| 33 | -constexpr int32_t kExpectedBucket = 1; | ||
| 34 | 33 | ||
| 35 | std::string GetTime() | 34 | std::string GetTime() |
| 36 | { | 35 | { |
| @@ -20,7 +20,7 @@ namespace ge { | |||
| 20 | 20 | ||
| 21 | *@par Inputs: | 21 | *@par Inputs: |
| 22 | * @li x: A tensor. Must be one of the following types:uint8, int8,int16, int32, | 22 | * @li x: A tensor. Must be one of the following types:uint8, int8,int16, int32, |
| 23 | - int64, float16, float, double.The format must be NHWC/NCHW. | 23 | + int64, float16, float, double. The format must be NCHW/NHWC/NC1HWC0. |
| 24 | 24 | ||
| 25 | *@par Attributes: | 25 | *@par Attributes: |
| 26 | *@li ksize: Kernel size. Input type is int. | 26 | *@li ksize: Kernel size. Input type is int. |