2using System.Collections.Generic;
69 colTop[0].
ReshapeLike(colBottom[0], colBottom[0].HalfSize);
The Log class provides general output in text form.
The BlobCollection contains a list of Blobs.
void ReshapeLike(BlobCollection< T > src)
Reshapes all blobs in the collection to the sizes of the source.
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.
virtual bool reshapeNeeded(BlobCollection< T > colBottom, BlobCollection< T > colTop, bool bReset=true)
Tests the shapes of both the bottom and top blobs and if they are the same as the previous sizing,...
The NeuronLayer is an interface for layers that take one blob as input (x) and produce only equally-s...
override void Reshape(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Reshape the top (output) Blob to have the same shape as the bottom (input) Blob.
NeuronLayer(CudaDnn< T > cuda, Log log, LayerParameter p)
The NeuronLayer constructor.
override void LayerSetUp(BlobCollection< T > colBottom, BlobCollection< T > colTop)
Setup the layer.
override int ExactNumTopBlobs
Returns the exact number of required top (output) Blobs: output.
override int ExactNumBottomBlobs
Returns the exact number of required bottom (input) Blobs: input.
Specifies the base parameter for all layers.
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-...