tesseract
5.0.0-alpha-619-ge9db
|
Go to the documentation of this file.
30 half_x_(half_x), half_y_(half_y) {
58 int t = dest_index.
t();
78 }
while (dest_index.Increment());
95 int t = src_index.
t();
105 delta_sum->
f(y_index.
t()));
110 }
while (src_index.Increment());
111 back_deltas->
CopyAll(*delta_sum);
void Randomize(int t, int offset, int num_features, TRand *randomizer)
void DisplayForward(const NetworkIO &matrix)
void Forward(bool debug, const NetworkIO &input, const TransposedArray *input_transpose, NetworkScratch *scratch, NetworkIO *output) override
const StrideMap & stride_map() const
void ResizeFloat(const NetworkIO &src, int num_features, NetworkScratch *scratch)
bool AddOffset(int offset, FlexDimensions dimension)
bool DeSerialize(char *data, size_t count=1)
bool Serialize(const char *data, size_t count=1)
bool DeSerialize(TFile *fp) override
bool Serialize(TFile *fp) const override
void AddTimeStepPart(int t, int offset, int num_features, float *inout) const
void CopyTimeStepGeneral(int dest_t, int dest_offset, int num_features, const NetworkIO &src, int src_t, int src_offset)
void CopyAll(const NetworkIO &src)
void Resize(const NetworkIO &src, int num_features)
bool Backward(bool debug, const NetworkIO &fwd_deltas, NetworkScratch *scratch, NetworkIO *back_deltas) override
Convolve(const STRING &name, int ni, int half_x, int half_y)
virtual bool Serialize(TFile *fp) const