2using System.Collections.Generic;
70 public abstract void Fill(
int nCount,
long hMem,
int nNumAxes = 1,
int nNumOutputs = 1,
int nNumChannels = 1,
int nHeight = 1,
int nWidth = 1);
95 case "positive_unitball":
108 log.
FAIL(
"Unknown filler type: " + p.
type);
The Log class provides general output in text form.
void FAIL(string str)
Causes a failure which throws an exception with the desciptive text.
The Blob is the main holder of data that moves through the Layers of the Net.
int num_axes
Returns the number of axes in the Blob.
long mutable_gpu_data
Returns the data GPU handle used by the CudaDnn connection.
List< int > shape()
Returns an array where each element contains the shape of an axis of the Blob.
int count()
Returns the total number of items in the Blob.
The CudaDnn object is the main interface to the Low-Level Cuda C++ DLL.
Fills a Blob with coefficients for bilinear interpolation.
Fills a Blob with constant values x = c.
Abstract Filler class used to fill blobs with values.
Filler(CudaDnn< T > cuda, Log log, FillerParameter p)
Constructor.
void Fill(Blob< T > b)
Fill the blob with values based on the actual filler used.
FillerParameter m_param
Specifies the filler parameters.
static Filler< T > Create(CudaDnn< T > cuda, Log log, FillerParameter p)
Create a new Filler instance.
CudaDnn< T > m_cuda
Specifies the CudaDnn instance used to communicate to the low-level Cuda Dnn DLL.
abstract void Fill(int nCount, long hMem, int nNumAxes=1, int nNumOutputs=1, int nNumChannels=1, int nHeight=1, int nWidth=1)
Fill the memory with values based on the actual filler used.
Log m_log
Specifies the output log.
Fills a Blob with Gaussian-distributed values .
Fills a Blob with values where is set inversely proportionla to number of incomming nodes,...
Fills a Blob with values such that .
Fills a Blob with a sequence of values x0 = c; x1 = c + 0.01...
Fills a Blob with values where is set inversely proportional to number of incoming nodes,...
Specifies the filler parameters used to create each Filler.
string type
Specifies the type of filler to use.
The MyCaffe.basecode contains all generic types used throughout MyCaffe.
The MyCaffe.common namespace contains common MyCaffe classes.
The MyCaffe.fillers namespace contains all fillers including the Filler class.
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-...