2using System.Collections.Generic;
55 long hBottomData = colBottom[0].gpu_data;
56 long hTopData = colTop[0].mutable_gpu_data;
57 int nCount = colBottom[0].count();
82 long hTopData = colTop[0].gpu_data;
83 long hTopDiff = colTop[0].gpu_diff;
84 long hBottomDiff = colBottom[0].mutable_gpu_diff;
85 long hBottomData = colBottom[0].gpu_data;
86 int nCount = colBottom[0].count();
The Log class provides general output in text form.
The BlobCollection contains a list of Blobs.
The CudaDnn object is the main interface to the Low-Level Cuda C++ DLL.
LayerParameter m_param
Specifies the LayerParameter describing the Layer.
CudaDnn< T > m_cuda
Specifies the CudaDnn connection to Cuda.
LayerParameter.LayerType m_type
Specifies the Layer type.
The NeuronLayer is an interface for layers that take one blob as input (x) and produce only equally-s...
The MishLayer provides a novel activation function that tends to work better than ReLU....
override void backward(BlobCollection< T > colTop, List< bool > rgbPropagateDown, BlobCollection< T > colBottom)
Computes the error gradient w.r.t. the Mish value inputs.
override void forward(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Forward computation
MishLayer(CudaDnn< T > cuda, Log log, LayerParameter p)
The MishLayer constructor.
Specifies the base parameter for all layers.
MishParameter mish_param
Returns the parameter set when initialized with LayerType.MISH
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.beta namespace contains all beta stage layers.
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-...