Initial commit

This commit is contained in:
rsgrinko committed 2023-03-29 22:41:18 +03:00
1 parent 1d9daab565
commit c5e7774637
7 files changed
+359 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
require_once __DIR__ . '/bootstrap.php';
function getStoragePath(int $id): string
{
return __DIR__ . '/storage/synapseWeightStorage_' . $id . '.json';
}
$ob = new NeuroNetwork(getStoragePath(1));
$res = $ob->run([1, 1]);
print_r($res);
$ob->mutate();
$res = $ob->run([1, 1]);
print_r($res);