File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 33function test ($ net , $ test_data ) {
44 $ train_file = (dirname (__FILE__ ) . '/ ' . $ net . '_float.net ' );
55 if (!is_file ($ train_file )) {
6+ <<<<<<< HEAD :examples/logic_gates/test_all.php
67 print ('The file ' . $ net . '_float.net has not been created! Please run train_all.php to generate it.<br> ' . PHP_EOL );
78 } else {
9+ =======
10+ print ('The file ' . $ net . '_float.net has not been created! Please run <a href="train_all.php">train_all.php</a> to generate it.<br> ' . PHP_EOL );
11+ } else{
12+ >>>>>>> origin/master:examples/test_all.php
813 $ ann = fann_create_from_file ($ train_file );
914 if ($ ann ) {
1015 $ calc_out = fann_run ($ ann , $ test_data );
@@ -45,4 +50,4 @@ function test($net, $test_data) {
4550test ('xnor ' , array (-1 , -1 ));
4651test ('xor ' , array (-1 , 1 ));
4752
48- ?>
53+ ?>
You can’t perform that action at this time.
0 commit comments