---
title: ReLU6
description: "features:- 是否必填: 必填"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/aolapi/operatorlist_00145.html
sourcePath: /source/zh/canncommercial/900/API/aolapi/operatorlist_00145.html
indexId: 88e1f39c7989f55dbbf91818eae151d93033724175c43d953583c61f71695f6264
---
# ReLU6

#### 输入

features:- 是否必填: 必填
- 数据类型: float16、float32
- 参数解释: 输入features
- 规格限制: 无


#### 输出

activations:- 是否必填: 必填
- 数据类型: float16、float32
- 参数解释: 输出y=min(max(features, 0), 6)
- 规格限制: 无
