aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/activations.c18
-rw-r--r--src/main.c18
-rw-r--r--src/nn.c18
-rw-r--r--src/nn.h18
-rw-r--r--src/util.c20
5 files changed, 91 insertions, 1 deletions
diff --git a/src/activations.c b/src/activations.c
index 4e17cc1..7a2d6a7 100644
--- a/src/activations.c
+++ b/src/activations.c
@@ -1,3 +1,21 @@
+/**
+ * ml - a neural network processor written with C
+ * Copyright (C) 2023 jvech
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <math.h>
#include "nn.h"
diff --git a/src/main.c b/src/main.c
index aac7e94..6d70fc0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,21 @@
+/**
+ * ml - a neural network processor written with C
+ * Copyright (C) 2023 jvech
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
diff --git a/src/nn.c b/src/nn.c
index ce033e2..65a88fd 100644
--- a/src/nn.c
+++ b/src/nn.c
@@ -1,3 +1,21 @@
+/**
+ * ml - a neural network processor written with C
+ * Copyright (C) 2023 jvech
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>
diff --git a/src/nn.h b/src/nn.h
index 5402ffa..13e81da 100644
--- a/src/nn.h
+++ b/src/nn.h
@@ -1,3 +1,21 @@
+/**
+ * ml - a neural network processor written with C
+ * Copyright (C) 2023 jvech
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#ifndef __NN__
#define __NN__
diff --git a/src/util.c b/src/util.c
index 2c94236..3fb61f2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,7 +1,25 @@
-/* See LICENSE file for copyright and license details. */
+/**
+ * ml - a neural network processor written with C
+ * Copyright (C) 2023 jvech
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
#include <getopt.h>
#include "util.h"
Feel free to download, copy and edit any repo