资源简介
基于matlab的神经网络dropout层基于matlab的神经网络dropout层
代码片段和文件信息
function [ymask] = vl_nndropout(xvarargin)
%VL_NNDROPOUT CNN dropout.
% [YMASK] = VL_NNDROPOUT(X) applies dropout to the data X. MASK
% is the randomly sampled dropout mask. Both Y and MASK have the
% same size as X.
%
% VL_NNDROPOUT(X ‘rate‘ R) sets the dropout rate to R. Rate is defined
% as a probability of a variable *not* to be zeroed (i.e. it is the
% expected value of MASK).
%
% [DZDX] = VL_NNDROPOUT(X DZDY ‘mask‘ MASK) computes the
% derivatives of the blocks projected onto DZDY. Note that MASK must
% be specified in order to compute the derivative consistently with
% the MASK randomly sampled in the forward pass. DZDX and DZDY have
% the same dimesnions as X and Y respectivey.
%
% Note that in the original paper on dropout at test time the
% network weights for the dropout layers are scaled down to
% compensate for having all the neurons active. In this
% implementation the dropout function itself already does this
% compensation during training. So at test time no alterations are
% required.
% Copyright (C) 2014-16 Andrea Vedaldi Karel Lenc.
% All rights reserved.
%
% This file is
- 上一篇:基于matlab的svr代码
- 下一篇:基于MATLAB图像处理的汽车牌照识别系统
相关资源
- 基于MATLAB图像处理的汽车牌照识别系
- 基于matlab的svr代码
- 使用matlab 实现DTW算法
- 基于粒子群算法的优化模型matlab程序
- 遗传算法完整MATLAB程序
- MATLAB灰色关联度代码
-
simuli
nk计数器、累加器.zip - 仿真了两径瑞利衰落信道模型和多径
- matlab读取并显示遥感img图像,包含单
- 快速随机搜索树RRT算法
-
MATLAB模糊控制及simuli
nk仿真 - psot工具箱及使用说明.zip
- 基于matlab的最小生成树prim算法
- matlab拟合程序
- GPS捕获跟踪定时同步的matlab代码
- 龙贝格算法MATLAB程序
- Matlab2017a许可证
- 基于聚类的路标检测K-meansMATLAB(RGB)
- dijkstra算法的MATLAB实现258163
- matlab程序.rar
- H-a-A-Wishart分类.zip
- Bayesian_estimate .m
- MATLAB GUI语音信号特征提取
- 遗传算法函数优化matlab代码
- WSN仿真-MATLAB基于COMPOW协议下的网络连
- 维纳滤波Matlab实现
- 动物图像多分类识别MATLAB可运行
- 龙格库塔原理详解及解微分方程组的
- 基于MATLAB的简单计算器
- 偏微分方程数值解迎风格式代码
评论
共有 条评论