---
title: Power
description: "x:- 是否必填: 必填"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/operatorlist_00137.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/operatorlist_00137.html
indexId: f1e51d2fbe389292c90f42d66a4b1e05d161efc27e4f8ece5dcd2a4a7a58888664
---
# Power

#### 输入

x:- 是否必填: 必填
- 数据类型: float16、float32
- 参数解释: 幂函数，计算公式: y = (shift + scale * x) ^ power
- 规格限制: 无


#### 属性

- power:

  - 是否必填: 非必填
  - 数据类型: float
  - 参数解释: 默认值1.0
  - 规格限制: power是有小数位的，要求底数大于0，其它按Caffe定义


- scale:

  - 是否必填: 非必填
  - 数据类型: float
  - 参数解释: 默认值1.0
  - 规格限制: 无

- shift:

  - 是否必填: 非必填
  - 数据类型: float
  - 参数解释: 默认值1.0
  - 规格限制: 无

#### 输出

y:- 是否必填: 必填
- 数据类型: float16、float32
- 参数解释: 幂函数，计算公式: y = (shift + scale * x) ^ power
- 规格限制: 无
