matlab中dropoutLayer,Dropout layer

dropoutLayer在MATLAB中是一个随机设置输入元素为零的层,以防止神经网络过拟合。该层在训练时根据给定的概率随机丢弃输入元素,并在图像和序列输入上应用不同的 dropout mask。创建时可通过指定概率和名称来定义该层。
摘要由CSDN通过智能技术生成

dropoutLayer

Description

A dropout layer randomly sets input elements to zero with a given probability.

Creation

Description

layer = dropoutLayer creates a

dropout layer.

layer = dropoutLayer(probability)

creates a dropout layer and sets the Probability property.

layer = dropoutLayer(___,'Name',Name)

sets the optional Name property using a name-value pair and any of the arguments

in the previous syntaxes. For example,

dropoutLayer(0.4,'Name','drop1') creates a dropout layer

with dropout probability 0.4 and name 'drop1'. Enclose the

property name in single quotes.

Properties

Dropout

Probability — Probability to drop out input elements

0.5 (default) | numeric scalar in the range 0 to 1

Probability for dropping out input elements, specified as

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值