MachineIntelligenceCore:NeuralNets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
HebbianRuleTests.cpp File Reference
#include "HebbianRule.hpp"
#include <gtest/gtest.h>
#include <cmath>
Include dependency graph for HebbianRuleTests.cpp:

Go to the source code of this file.

Macros

#define private   public
 

Functions

 TEST (HebbianRule, Weight3x4Update)
 
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 : May 16, 2017

Copyright (c) 2017, Tomasz Kornuta, IBM Corporation. All rights reserved.

Definition in file HebbianRuleTests.cpp.

Macro Definition Documentation

#define private   public

Definition at line 31 of file HebbianRuleTests.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 76 of file HebbianRuleTests.cpp.

TEST ( HebbianRule  ,
Weight3x4Update   
)

Tests hebbian update on 3x4matrix.

Author
tkornuta

Definition at line 39 of file HebbianRuleTests.cpp.

References mic::neural_nets::learning::HebbianRule< eT >::calculateUpdate().

Here is the call graph for this function: