Operator | ReduceSum | ||||
---|---|---|---|---|---|
input | name | shape | data type | format | default |
x | \ | float32, float16, int32, int8 | ND | \ | |
axis | \ | int32 | ND | \ | |
output | +|||||
y | \ | float32, float16, int32, int8 | ND | \ | |
attr | keep_dims | \ | bool | \ | false | ignore_nan | \ | bool | \ | false | +dtype | string | bool | \ | float | +
kernel | ReduceSum |
调用方式 | 目录 | 描述 | +
---|---|---|
FrameworkLaunch | AclNNInvocation | 通过aclnn调用的方式调用ReduceSum算子。 | +
算子类型(OpType) | ReduceSum | ||||
---|---|---|---|---|---|
算子输入 | name | shape | data type | format | default |
x | \ | float32, float16, int32, int8 | ND | \ | |
axis | \ | int32 | ND | \ | |
算子输出 | +|||||
y | \ | float32, float16, int32, int8 | ND | \ | |
attr属性 | keep_dims | \ | bool | \ | false | ignore_nan | \ | bool | \ | false | +dtype | string | bool | \ | float | + +
核函数名 | ReduceSum |