Skip to content

Commit

Permalink
add license notice on every single source file so that ClosedAI doesn…
Browse files Browse the repository at this point in the history
…'t steal my shit
  • Loading branch information
QwEekYhyo committed Sep 30, 2024
1 parent 745c45b commit b55ce5e
Show file tree
Hide file tree
Showing 14 changed files with 238 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/common_defs.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_COMMON_DEFS_H
#define NCN_COMMON_DEFS_H

Expand Down
17 changes: 17 additions & 0 deletions include/matrix.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_MATRIX_H
#define NCN_MATRIX_H

Expand Down
17 changes: 17 additions & 0 deletions include/model_trainer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_MODEL_TRAINER_H
#define NCN_MODEL_TRAINER_H

Expand Down
17 changes: 17 additions & 0 deletions include/neural_network.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_NEURAL_NETWORK_H
#define NCN_NEURAL_NETWORK_H

Expand Down
17 changes: 17 additions & 0 deletions include/utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_UTILS_H
#define NCN_UTILS_H

Expand Down
17 changes: 17 additions & 0 deletions include/vector.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 NCN_VECTOR_H
#define NCN_VECTOR_H

Expand Down
17 changes: 17 additions & 0 deletions src/matrix.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <matrix.h>
#include <utils.h>

Expand Down
17 changes: 17 additions & 0 deletions src/model_trainer.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <matrix.h>
#include <neural_network.h>
#include <model_trainer.h>
Expand Down
17 changes: 17 additions & 0 deletions src/neural_network.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <neural_network.h>
#include <utils.h>

Expand Down
17 changes: 17 additions & 0 deletions src/utils.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <utils.h>

#include <stdlib.h>
Expand Down
17 changes: 17 additions & 0 deletions src/vector.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <vector.h>
#include <utils.h>

Expand Down
17 changes: 17 additions & 0 deletions tests/test_main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <matrix.h>
#include <vector.h>
#include <neural_network.h>
Expand Down
17 changes: 17 additions & 0 deletions tests/test_save_vector.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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/>.
*/

#define _CRT_SECURE_NO_WARNINGS

#include <vector.h>
Expand Down
17 changes: 17 additions & 0 deletions tests/test_save_weights.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
/* New Chad Neural - C library to train neural networks
* Copyright (C) 2024 Lucas Logan
*
* 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 <matrix.h>
#include <vector.h>
#include <neural_network.h>
Expand Down

0 comments on commit b55ce5e

Please sign in to comment.