From 82fbb56c97f41941b359b03c0033cb49295816f4 Mon Sep 17 00:00:00 2001 From: jvech Date: Sun, 3 Sep 2023 21:05:32 -0500 Subject: doc: LICENSE and some documentation added --- src/activations.c | 18 ++++++++++++++++++ src/main.c | 18 ++++++++++++++++++ src/nn.c | 18 ++++++++++++++++++ src/nn.h | 18 ++++++++++++++++++ src/util.c | 20 +++++++++++++++++++- 5 files changed, 91 insertions(+), 1 deletion(-) (limited to 'src') 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 . + */ + #include #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 . + */ + #include #include #include 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 . + */ + #include #include #include 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 . + */ + #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 . + */ + #include #include #include +#include #include #include "util.h" -- cgit v1.2.3-70-g09d2