TensorFlow函数教程:tf.nn.crelu

2019-01-31 13:45 更新

tf.nn.crelu函数

tf.nn.crelu(
    features,
    name=None,
    axis=-1
)

定义在:tensorflow/python/ops/nn_ops.py.

请参阅指南:神经网络>激活功能

计算连接ReLU.

将只选择激活的积极部分的ReLU与只选择激活的消极部分的ReLU连接起来.注意,这样的非线性使得激活深度加倍.

参数:

  • features:一个Tensor,其类型为:float,double,int32,int64,uint8,int16,或int8.
  • name:操作的名称(可选).
  • axis:输出值连接在一起的轴,默认值为-1.

返回:

一个与features具有相同类型的Tensor.

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy