commit bf7232775545867fd456307a2ad98111052ec82d
parent 992e7078863c843c33bb37e540819786b71e2e0f
Author: David Freifeld <freifeld.david@gmail.com>
Date: Tue, 14 Jul 2020 12:00:12 -0700
Added notice to code
Someone else forking this repository + this repo going private for a minute made ambiguous who created the code. Added my name to the source to rectify this.
Diffstat:
16 files changed, 128 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,3 +1,10 @@
+#
+# Makefile
+# Jacobian
+#
+# Created by David Freifeld
+# Copyright © 2020 David Freifeld. All rights reserved.
+#
# ---------
# TODO:
# Start using CMake to make this less of a headache?
diff --git a/example.cpp b/example.cpp
@@ -1,3 +1,11 @@
+//
+// example.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include "./src/bpnn.hpp"
#include "./src/utils.hpp"
#include "unistd.h"
diff --git a/readme.md b/readme.md
@@ -1,3 +1,10 @@
+
+ <!-- readme.md -->
+ <!-- Jacobian -->
+
+ <!-- Created by David Freifeld -->
+ <!-- Copyright © 2020 David Freifeld. All rights reserved. -->
+

## About
diff --git a/scripts/example.py b/scripts/example.py
@@ -1,3 +1,11 @@
+#
+# example.py
+# Jacobian
+#
+# Created by David Freifeld
+# Copyright © 2020 David Freifeld. All rights reserved.
+#
+
import importlib.util
spec = importlib.util.spec_from_file_location("mrbpnn", "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/mrbpnn/mrbpnn.cpython-37m-darwin.so")
mrbpnn = importlib.util.module_from_spec(spec)
diff --git a/scripts/kerasdemo.py b/scripts/kerasdemo.py
@@ -1,3 +1,11 @@
+#
+# kerasdemo.py
+# Jacobian
+#
+# Created by David Freifeld
+# Copyright © 2020 David Freifeld. All rights reserved.
+#
+
#+-----------------------------------------------------------------------------+
# Keras benchmark code to compare with network.
#
diff --git a/setup.py b/setup.py
@@ -1,3 +1,11 @@
+#
+# setup.py
+# Jacobian
+#
+# Created by David Freifeld
+# Copyright © 2020 David Freifeld. All rights reserved.
+#
+
from setuptools import setup, Distribution
diff --git a/src/bpnn.cpp b/src/bpnn.cpp
@@ -1,3 +1,11 @@
+//
+// bpnn.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include "bpnn.hpp"
#include "utils.hpp"
#include <ctime>
diff --git a/src/checks.cpp b/src/checks.cpp
@@ -1,3 +1,11 @@
+//
+// checks.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
void checks(Network net)
{
Network original = net;
diff --git a/src/cnn.cpp b/src/cnn.cpp
@@ -1,3 +1,11 @@
+//
+// cnn.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include "bpnn.hpp"
#include "utils.hpp"
diff --git a/src/mr_bpnn.cpp b/src/mr_bpnn.cpp
@@ -1,3 +1,11 @@
+//
+// mr_bpnn.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include "bpnn.hpp"
#include "utils.hpp"
diff --git a/src/mr_bpnn_1.cpp b/src/mr_bpnn_1.cpp
@@ -1,3 +1,11 @@
+//
+// mr_bpnn_1.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include "bpnn.hpp"
struct pair* map (struct pair input_pair)
diff --git a/src/mr_bpnn_2.cpp b/src/mr_bpnn_2.cpp
@@ -1,3 +1,12 @@
+//
+// mr_bpnn_2.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
+
#include <pybind11/pybind11.h>
#include <pybind11/functional.h>
#include "bpnn.hpp"
diff --git a/src/utils.cpp b/src/utils.cpp
@@ -1,3 +1,11 @@
+//
+// utils.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#include <iostream>
#include <fstream>
#include <cstdlib>
diff --git a/src/utils.hpp b/src/utils.hpp
@@ -1,3 +1,11 @@
+//
+// utils.hpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
#ifndef UTILS_H
#define UTILS_H
diff --git a/tests/fileread.cpp b/tests/fileread.cpp
@@ -1,3 +1,11 @@
+//
+// fileread.cpp
+// Jacobian
+//
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+
uintmax_t wc(char const *fname)
{
static const auto BUFFER_SIZE = 1024;
diff --git a/tests/strassen.cpp b/tests/strassen.cpp
@@ -1,9 +1,14 @@
//
-// strassen.cpp
-// Experimental benchmarking of Strassen's Algorithm vs plain Eigen matrix multipy
+// strassen.cpp
+// Jacobian
//
-// While naive multiplication is O(n^3), Strassen's Algorithm for matrix multiply is O(n^2.8074)
-// which means significant differences will begin to manifest for large matrices. All faster algorithms are galactic.
+// Created by David Freifeld
+// Copyright © 2020 David Freifeld. All rights reserved.
+//
+// Description:
+// Experimental benchmarking of Strassen's Algorithm vs plain Eigen matrix multiply.
+// While naive multiplication is O(n^3), Strassen's Algorithm for matrix multiply is O(n^2.8074)
+// which means significant differences will begin to manifest for large matrices. All faster algorithms are galactic.
//
#include <Eigen/Dense>