PetaVision
Alpha
Main Page
Data Structures
DropoutLayer.hpp
1
#ifndef _DROPOUTLAYER_HPP_
2
#define _DROPOUTLAYER_HPP_
3
4
#include "ANNLayer.hpp"
5
6
namespace
PV
{
7
8
class
DropoutLayer
:
public
ANNLayer
{
9
10
public
:
11
DropoutLayer
(
const
char
*name,
HyPerCol
*hc);
12
virtual
~
DropoutLayer
();
13
14
protected
:
15
virtual
Response::Status updateState(
double
timestamp,
double
dt)
override
;
16
virtual
int
ioParamsFillGroup
(
enum
ParamsIOFlag ioFlag)
override
;
17
virtual
void
ioParam_probability(
enum
ParamsIOFlag ioFlag);
18
19
int
mProbability = 0;
// Value from 0-99 indicating per-neuron chance of dropout
20
};
21
}
22
#endif
PV::HyPerCol
Definition:
HyPerCol.hpp:41
PV::DropoutLayer
Definition:
DropoutLayer.hpp:8
PV::DropoutLayer::ioParamsFillGroup
virtual int ioParamsFillGroup(enum ParamsIOFlag ioFlag) override
Definition:
DropoutLayer.cpp:9
PV::ANNLayer
Definition:
ANNLayer.hpp:19
PV
Definition:
CheckpointableFileStream.cpp:3
OpenPV
src
layers
DropoutLayer.hpp
Generated by
1.8.11