已合并
fix: update bucketize example and avg pool doc #7852
zhaowenrui创建于 7月23日
fix: update bucketize example and avg pool doc #7852
已合并
zhaowenrui创建于 7月23日
共 2 个文件变更+1-2
@@ -30,7 +30,6 @@ namespace {
30constexpr int kFailed = -1;30constexpr int kFailed = -1;
31constexpr int kSuccess = 0;31constexpr int kSuccess = 0;
32constexpr uint32_t kDeviceId = 0;32constexpr uint32_t kDeviceId = 0;
33-constexpr int32_t kExpectedBucket = 1;
34 33 
35std::string GetTime()34std::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.