MachineIntelligenceCore:NeuralNets
|
Test Fixture - layer of input size 2x2x2 and with filter bank of 2 filters of size 1x1 with stride 1, double. Math example taken from my own calculations;) More...
#include <Convolution_tests.hpp>
Public Member Functions | |
Conv2x2x2Filter2x1x1s1Double () | |
Protected Member Functions | |
virtual void | SetUp () |
Private Attributes | |
mic::mlnn::convolution::Convolution < double > | layer |
Object to be tested. More... | |
mic::neural_nets::loss::SquaredErrorLoss < double > | loss |
mic::types::MatrixPtr< double > | x |
Test x - used in forward pass. More... | |
mic::types::MatrixPtr< double > | desired_y |
Desired output for a given x. More... | |
mic::types::MatrixPtr< double > | dy |
Gradient passed to backpropagation. More... | |
mic::types::MatrixPtr< double > | target_y |
Target y values. More... | |
mic::types::MatrixPtr< double > | desired_dx |
Desired gradient dx from backpropagation. More... | |
mic::types::MatrixPtr< double > | desired_dW |
Desired gradient dW from backpropagation. More... | |
mic::types::MatrixPtr< double > | desired_db |
Desired gradient db from backpropagation. More... | |
Test Fixture - layer of input size 2x2x2 and with filter bank of 2 filters of size 1x1 with stride 1, double. Math example taken from my own calculations;)
Definition at line 44 of file Convolution_tests.hpp.
|
inline |
Definition at line 47 of file Convolution_tests.hpp.
References desired_db, desired_dW, desired_dx, desired_y, dy, target_y, and x.
|
inlineprotectedvirtual |
Definition at line 66 of file Convolution_tests.hpp.
References layer, and mic::mlnn::Layer< eT >::p.
|
private |
Desired gradient db from backpropagation.
Definition at line 113 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
Desired gradient dW from backpropagation.
Definition at line 110 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
Desired gradient dx from backpropagation.
Definition at line 107 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
Desired output for a given x.
Definition at line 98 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
Gradient passed to backpropagation.
Definition at line 101 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
|
private |
Definition at line 92 of file Convolution_tests.hpp.
|
private |
Target y values.
Definition at line 104 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().
|
private |
Test x - used in forward pass.
Definition at line 95 of file Convolution_tests.hpp.
Referenced by Conv2x2x2Filter2x1x1s1Double().