DeepCL  SNAPSHOT
Deep convolutional neural networks using OpenCL
Public Member Functions | Static Public Member Functions | List of all members
RandomPatchesMaker Class Reference

Use to create a RandomPatches Layer. More...

Inherits LayerMaker2.

Public Member Functions

publicapi RandomPatchesMaker ()
 
publicapi RandomPatchesMakerpatchSize (int _patchSize)
 

Static Public Member Functions

static publicapi RandomPatchesMakerinstance ()
 

Detailed Description

Use to create a RandomPatches Layer.

A RandomPatches layer cuts a patch from the previous layer and passes it to the next layer.

The size of the patch is configurable, and the location is random. When the NeuralNet, containing this layer, is set to training=false, then the patch is cut from the centre

Public API

Constructor & Destructor Documentation

publicapi RandomPatchesMaker::RandomPatchesMaker ( )
inline
Public API

Member Function Documentation

publicapi RandomPatchesMaker* RandomPatchesMaker::patchSize ( int  _patchSize)
inline
Public API
static publicapi RandomPatchesMaker* RandomPatchesMaker::instance ( )
inlinestatic
Public API

The documentation for this class was generated from the following files: