1 #ifndef CONV_ONETOONE_EDGE_H_ 
    2 #define CONV_ONETOONE_EDGE_H_ 
    3 #include "edge_with_weight.h" 
   20   void AllocateMemoryBprop();
 
   21   void AllocateMemoryFprop();
 
virtual void ComputeDown(Matrix &deriv_output, Matrix &input, Matrix &output, Matrix &deriv_input, bool overwrite)
Computes the derivative w.r.t the inputs of this edge given the derivative w.r.t the outputs of this ...
Definition: conv_onetoone_edge.cc:71
 
virtual void SetImageSize(int image_size)
Set the spatial size of the input to this edge. 
Definition: conv_onetoone_edge.cc:7
 
virtual int GetNumModules() const 
Returns the number of modules. 
Definition: conv_onetoone_edge.h:16
 
An edge with one-to-one connectivity over spatial locations. 
Definition: conv_onetoone_edge.h:7
 
virtual void ComputeOuter(Matrix &input, Matrix &deriv_output)
Computes the gradient for the weights and biases. 
Definition: conv_onetoone_edge.cc:91
 
A GPU matrix class. 
Definition: matrix.h:11
 
virtual void ComputeUp(Matrix &input, Matrix &output, bool overwrite)
Computes the output layer state given the input. 
Definition: conv_onetoone_edge.cc:48
 
virtual void AllocateMemory(bool fprop_only)
Allocate memory for the model. 
Definition: conv_onetoone_edge.cc:12
 
Base class for all edges which have weights. 
Definition: edge_with_weight.h:9