MachineIntelligenceCore:NeuralNets
|
Test Fixture - layer of input size 4x4x1 and with filter bank of 3 filters of size 1x1 with stride 3, double. Math example taken from my own calculations;) More...
#include <Convolution_tests.hpp>
Public Member Functions | |
Conv4x4x1Filter3x1x1s3Double () | |
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 > | desired_dx |
Target y values. 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 4x4x1 and with filter bank of 3 filters of size 1x1 with stride 3, double. Math example taken from my own calculations;)
Definition at line 239 of file Convolution_tests.hpp.
|
inline |
Definition at line 242 of file Convolution_tests.hpp.
References desired_db, desired_dW, desired_dx, desired_y, dy, and x.
|
inlineprotectedvirtual |
Definition at line 261 of file Convolution_tests.hpp.
References layer, and mic::mlnn::Layer< eT >::p.
|
private |
Desired gradient db from backpropagation.
Definition at line 306 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().
|
private |
Desired gradient dW from backpropagation.
Definition at line 303 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().
|
private |
Target y values.
Desired gradient dx from backpropagation.
Definition at line 300 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().
|
private |
Desired output for a given x.
Definition at line 291 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().
|
private |
Gradient passed to backpropagation.
Definition at line 294 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().
|
private |
|
private |
Definition at line 285 of file Convolution_tests.hpp.
|
private |
Test x - used in forward pass.
Definition at line 288 of file Convolution_tests.hpp.
Referenced by Conv4x4x1Filter3x1x1s3Double().