Skip to content

Commit

Permalink
Deleting reference directory and moving the python ref to test (#72)
Browse files Browse the repository at this point in the history
Yes! Clean up the mess!
  • Loading branch information
oysteijo committed Sep 4, 2024
1 parent e443838 commit e96e238
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 350 deletions.
11 changes: 0 additions & 11 deletions reference/README.md

This file was deleted.

84 changes: 0 additions & 84 deletions reference/c_checker.c

This file was deleted.

66 changes: 0 additions & 66 deletions reference/compare_reference_vs_c.py

This file was deleted.

61 changes: 0 additions & 61 deletions reference/compare_reference_vs_keras.py

This file was deleted.

5 changes: 0 additions & 5 deletions reference/config.txt

This file was deleted.

22 changes: 0 additions & 22 deletions reference/generate_test_data.py

This file was deleted.

11 changes: 0 additions & 11 deletions reference/initializers.py

This file was deleted.

52 changes: 0 additions & 52 deletions reference/kerasmodel.py

This file was deleted.

32 changes: 0 additions & 32 deletions reference/optimizer.py

This file was deleted.

9 changes: 3 additions & 6 deletions tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ obj = $(src:.c=.o)
# dependency library
NPY_ARRAY_LIBPATH = ../npy_array
NEURALNET_LIBPATH = ../src
CFLAGS += `pkg-config --cflags libzip`
CFLAGS += -I$(NPY_ARRAY_LIBPATH) -I$(NEURALNET_LIBPATH)
LDLIBS += -L$(NEURALNET_LIBPATH) -lsimd_neuralnet
LDLIBS += -L$(NPY_ARRAY_LIBPATH) -lnpy_array
LDLIBS += `pkg-config --libs libzip`
LDLIBS += -ldl
LDLIBS += -lm
LDLIBS += $(BLAS_LDFLAGS)
Expand Down Expand Up @@ -41,11 +43,6 @@ test_loss.c: generate_tests.py neuralnet.py metrics.py
test_metrics.c: generate_tests.py neuralnet.py metrics.py
python3 generate_tests.py

neuralnet.py:
ln -sf ../reference/neuralnet.py
metrics.py:
ln -sf ../reference/metrics.py

.PHONY: run
run: $(testprogs)
for t in $(testprogs); do ./$$t; done
Expand All @@ -56,6 +53,6 @@ clean:

.PHONY: distclean
distclean:
$(RM) $(obj) $(testprogs) neuralnet.py metrics.py neuralnet.pyc metrics.pyc test_activation.c test_loss.c test_metrics.c Makefile tmp_*.npz *~
$(RM) $(obj) $(testprogs) neuralnet.pyc metrics.pyc test_activation.c test_loss.c test_metrics.c Makefile tmp_*.npz *~
$(RM) -r __pycache__

File renamed without changes.
File renamed without changes.

0 comments on commit e96e238

Please sign in to comment.