2using System.Collections.Generic;
71 for (
int i = 0; i < colBottom.
Count; i++)
73 if (rgbPropagateDown[i])
The Log class provides general output in text form.
The BlobCollection contains a list of Blobs.
void SetDiff(double df)
Set all blob diff to the value specified.
int Count
Returns the number of items in the collection.
The CudaDnn object is the main interface to the Low-Level Cuda C++ DLL.
An interface for the units of computation which can be composed into a Net.
LayerParameter.LayerType m_type
Specifies the Layer type.
The SilenceLayer ignores bottom blobs while producing no top blobs. (This is useuful to suppress outp...
override int MinBottomBlobs
Returns the minimum number of required bottom (input) Blobs: input.
override void backward(BlobCollection< T > colTop, List< bool > rgbPropagateDown, BlobCollection< T > colBottom)
The backward computation merely sets the bottom diff to zero.
override int ExactNumTopBlobs
Returns 0 as this layer has no output.
override void Reshape(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Not implemented - no reshape needed.
override void forward(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Not implemented - no output.
SilenceLayer(CudaDnn< T > cuda, Log log, LayerParameter p)
The SilenceLayer constructor.
override void LayerSetUp(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Not implemented - no setup needed.
Specifies the base parameter for all layers.
LayerType
Specifies the layer type.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe.common namespace contains common MyCaffe classes.
The MyCaffe.layers namespace contains all layers that have a solidified code base,...
The MyCaffe.param namespace contains parameters used to create models.
The MyCaffe namespace contains the main body of MyCaffe code that closesly tracks the C++ Caffe open-...