MachineIntelligenceCore:NeuralNets
|
Test Fixture - layer of input size 5x5x1 and with filter bank of 1 filter of size 2x2 with stride 3 (float). Math example taken from: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/. More...
#include <Convolution_tests.hpp>
Public Member Functions | |
Conv5x5x1Filter1x2x2s3Float () | |
Protected Member Functions | |
virtual void | SetUp () |
Private Attributes | |
mic::mlnn::convolution::Convolution < float > | layer |
Object to be tested. More... | |
mic::types::MatrixPtr< float > | x |
Test x - used in forward pass. More... | |
mic::types::MatrixPtr< float > | desired_y |
Desired output for a given x. More... | |
mic::types::MatrixPtr< float > | dy |
Gradient passed to backpropagation. More... | |
mic::types::MatrixPtr< float > | desired_dx |
Desired gradient dy from backpropagation. More... | |
mic::types::MatrixPtr< float > | desired_dW |
Desired gradient dW from backpropagation. More... | |
mic::types::MatrixPtr< float > | desired_db |
Desired gradient db from backpropagation. More... | |
Test Fixture - layer of input size 5x5x1 and with filter bank of 1 filter of size 2x2 with stride 3 (float). Math example taken from: https://ujjwalkarn.me/2016/08/11/intuitive-explanation-convnets/.
Definition at line 361 of file Convolution_tests.hpp.
|
inline |
Definition at line 364 of file Convolution_tests.hpp.
References desired_db, desired_dW, desired_dx, desired_y, dy, and x.
|
inlineprotectedvirtual |
Definition at line 381 of file Convolution_tests.hpp.
References layer, and mic::mlnn::Layer< eT >::p.
|
private |
Desired gradient db from backpropagation.
Definition at line 416 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().
|
private |
Desired gradient dW from backpropagation.
Definition at line 413 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().
|
private |
Desired gradient dy from backpropagation.
Definition at line 410 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().
|
private |
Desired output for a given x.
Definition at line 404 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().
|
private |
Gradient passed to backpropagation.
Definition at line 407 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().
|
private |
|
private |
Test x - used in forward pass.
Definition at line 401 of file Convolution_tests.hpp.
Referenced by Conv5x5x1Filter1x2x2s3Float().