MachineIntelligenceCore:NeuralNets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
Linear_tests.cpp File Reference
#include "Linear_tests.hpp"
Include dependency graph for Linear_tests.cpp:

Go to the source code of this file.

Namespaces

 mic
 
 mic::neural_nets
 
 mic::neural_nets::unit_tests
 

Functions

 mic::neural_nets::unit_tests::TEST_F (Linear5x2Float, WbInitialization)
 Makes sure that the layer is properly initialized - initial W weights must be non zero and b must be zero. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear5x2Float, WIsNaN)
 Makes sure that the layer is properly initialized - all W are numbers! More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear5x2Float, WIsNotInf)
 Makes sure that the layer is properly initialized - all W are finite. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear5x2Float, WAreDifferent)
 Makes sure that the layer is properly initialized and all W are different. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear1x1Float, Forward_y)
 Makes sure that the layer calculates y = w*x + b, size of layer: is 1x1. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Float, Forward_y)
 Makes sure that the layer calculates y = w*x + b, size of layer: is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST (LinearStacked1x2x3Float, Forward_y)
 Makes sure that the two stacked layers will return right result. More...
 
 mic::neural_nets::unit_tests::TEST (Linear2x1Float, Backward_dx)
 Tests backward pass in the y = w*x + b, size of layer: is 2x1. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Float, Backward_dx)
 Tests backward pass in the y = w*x + b (dx gradient), size of layer: is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Float, Backward_dWdb)
 Tests gradients dW and db, size of layer is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Double, NumericalGradientCheck_dW)
 Numerical gradient test dW, size of layer is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Double, NumericalGradientCheck_db)
 Numerical gradient test db, size of layer is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear2x3Double, NumericalGradientCheck_dx)
 Numerical gradient test dx, size of layer is 2x3. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear50x100Double, NumericalGradientCheck_dW)
 Numerical gradient test dW, size of layer is 50x100. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear50x100Double, NumericalGradientCheck_db)
 Numerical gradient test db, size of layer is 50x100. More...
 
 mic::neural_nets::unit_tests::TEST_F (Linear50x100Double, NumericalGradientCheck_dx)
 Numerical gradient test dx, size of layer is 50x100. More...
 
int main (int argc, char **argv)
 

Detailed Description

Copyright (C) tkornuta, IBM Corporation 2015-2019

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

: Tomasz Kornuta tkorn.nosp@m.ut@u.nosp@m.s.ibm.nosp@m..com : Nov 4, 2016

Copyright (c) 2016, IBM Corporation. All rights reserved.

Definition in file Linear_tests.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 337 of file Linear_tests.cpp.