MachineIntelligenceCore:NeuralNets
|
Test Fixture - layer of input size 5x6x1 and with filter bank of 1 filter of size 4x4 with stride 1, floats. Math example taken from: http://soumith.ch/ex/pages/2014/08/07/why-rotate-weights-convolution-gradient/. More...
#include <Convolution_tests.hpp>
Public Member Functions | |
Conv5x6x1Filter1x4x4s1Float () | |
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... | |
Test Fixture - layer of input size 5x6x1 and with filter bank of 1 filter of size 4x4 with stride 1, floats. Math example taken from: http://soumith.ch/ex/pages/2014/08/07/why-rotate-weights-convolution-gradient/.
Definition at line 506 of file Convolution_tests.hpp.
|
inline |
Definition at line 509 of file Convolution_tests.hpp.
References desired_dx, desired_y, dy, and x.
|
inlineprotectedvirtual |
Definition at line 521 of file Convolution_tests.hpp.
References layer, mic::mlnn::Layer< eT >::p, and x.
|
private |
Desired gradient dy from backpropagation.
Definition at line 560 of file Convolution_tests.hpp.
Referenced by Conv5x6x1Filter1x4x4s1Float().
|
private |
Desired output for a given x.
Definition at line 554 of file Convolution_tests.hpp.
Referenced by Conv5x6x1Filter1x4x4s1Float().
|
private |
Gradient passed to backpropagation.
Definition at line 557 of file Convolution_tests.hpp.
Referenced by Conv5x6x1Filter1x4x4s1Float().
|
private |
|
private |
Test x - used in forward pass.
Definition at line 551 of file Convolution_tests.hpp.
Referenced by Conv5x6x1Filter1x4x4s1Float(), and SetUp().