This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added a few methods in the optimizer and layers. (#46)
* MNIST example working * dependency inversion
- Loading branch information
1 parent
4376e0e
commit e8972f6
Showing
6 changed files
with
317 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,263 @@ | ||
# CMAKE generated file: DO NOT EDIT! | ||
# Generated by "Unix Makefiles" Generator, CMake Version 3.22 | ||
|
||
# Default target executed when no arguments are given to make. | ||
default_target: all | ||
.PHONY : default_target | ||
|
||
# Allow only one "make -f Makefile2" at a time, but pass parallelism. | ||
.NOTPARALLEL: | ||
|
||
#============================================================================= | ||
# Special targets provided by cmake. | ||
|
||
# Disable implicit rules so canonical targets will work. | ||
.SUFFIXES: | ||
|
||
# Disable VCS-based implicit rules. | ||
% : %,v | ||
|
||
# Disable VCS-based implicit rules. | ||
% : RCS/% | ||
|
||
# Disable VCS-based implicit rules. | ||
% : RCS/%,v | ||
|
||
# Disable VCS-based implicit rules. | ||
% : SCCS/s.% | ||
|
||
# Disable VCS-based implicit rules. | ||
% : s.% | ||
|
||
.SUFFIXES: .hpux_make_needs_suffix_list | ||
|
||
# Command-line flag to silence nested $(MAKE). | ||
$(VERBOSE)MAKESILENT = -s | ||
|
||
#Suppress display of executed commands. | ||
$(VERBOSE).SILENT: | ||
|
||
# A target that is always out of date. | ||
cmake_force: | ||
.PHONY : cmake_force | ||
|
||
#============================================================================= | ||
# Set environment variables for the build. | ||
|
||
# The shell in which to execute make rules. | ||
SHELL = /bin/sh | ||
|
||
# The CMake executable. | ||
CMAKE_COMMAND = /usr/bin/cmake | ||
|
||
# The command to remove a file. | ||
RM = /usr/bin/cmake -E rm -f | ||
|
||
# Escaping for special characters. | ||
EQUALS = = | ||
|
||
# The top-level source directory on which CMake was run. | ||
CMAKE_SOURCE_DIR = /home/eric/tmp/deep-learning-library/examples | ||
|
||
# The top-level build directory on which CMake was run. | ||
CMAKE_BINARY_DIR = /home/eric/tmp/deep-learning-library/examples | ||
|
||
#============================================================================= | ||
# Targets provided globally by CMake. | ||
|
||
# Special rule for the target edit_cache | ||
edit_cache: | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." | ||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. | ||
.PHONY : edit_cache | ||
|
||
# Special rule for the target edit_cache | ||
edit_cache/fast: edit_cache | ||
.PHONY : edit_cache/fast | ||
|
||
# Special rule for the target rebuild_cache | ||
rebuild_cache: | ||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." | ||
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
.PHONY : rebuild_cache | ||
|
||
# Special rule for the target rebuild_cache | ||
rebuild_cache/fast: rebuild_cache | ||
.PHONY : rebuild_cache/fast | ||
|
||
# The main all target | ||
all: cmake_check_build_system | ||
$(CMAKE_COMMAND) -E cmake_progress_start /home/eric/tmp/deep-learning-library/examples/CMakeFiles /home/eric/tmp/deep-learning-library/examples//CMakeFiles/progress.marks | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all | ||
$(CMAKE_COMMAND) -E cmake_progress_start /home/eric/tmp/deep-learning-library/examples/CMakeFiles 0 | ||
.PHONY : all | ||
|
||
# The main clean target | ||
clean: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean | ||
.PHONY : clean | ||
|
||
# The main clean target | ||
clean/fast: clean | ||
.PHONY : clean/fast | ||
|
||
# Prepare targets for installation. | ||
preinstall: all | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall | ||
.PHONY : preinstall | ||
|
||
# Prepare targets for installation. | ||
preinstall/fast: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall | ||
.PHONY : preinstall/fast | ||
|
||
# clear depends | ||
depend: | ||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | ||
.PHONY : depend | ||
|
||
#============================================================================= | ||
# Target rules for targets named cabernet-examples-functions | ||
|
||
# Build rule for target. | ||
cabernet-examples-functions: cmake_check_build_system | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 cabernet-examples-functions | ||
.PHONY : cabernet-examples-functions | ||
|
||
# fast build rule for target. | ||
cabernet-examples-functions/fast: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-functions.dir/build.make CMakeFiles/cabernet-examples-functions.dir/build | ||
.PHONY : cabernet-examples-functions/fast | ||
|
||
#============================================================================= | ||
# Target rules for targets named cabernet-examples-layers | ||
|
||
# Build rule for target. | ||
cabernet-examples-layers: cmake_check_build_system | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 cabernet-examples-layers | ||
.PHONY : cabernet-examples-layers | ||
|
||
# fast build rule for target. | ||
cabernet-examples-layers/fast: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-layers.dir/build.make CMakeFiles/cabernet-examples-layers.dir/build | ||
.PHONY : cabernet-examples-layers/fast | ||
|
||
#============================================================================= | ||
# Target rules for targets named cabernet-examples-operations | ||
|
||
# Build rule for target. | ||
cabernet-examples-operations: cmake_check_build_system | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 cabernet-examples-operations | ||
.PHONY : cabernet-examples-operations | ||
|
||
# fast build rule for target. | ||
cabernet-examples-operations/fast: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-operations.dir/build.make CMakeFiles/cabernet-examples-operations.dir/build | ||
.PHONY : cabernet-examples-operations/fast | ||
|
||
functions.o: functions.cpp.o | ||
.PHONY : functions.o | ||
|
||
# target to build an object file | ||
functions.cpp.o: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-functions.dir/build.make CMakeFiles/cabernet-examples-functions.dir/functions.cpp.o | ||
.PHONY : functions.cpp.o | ||
|
||
functions.i: functions.cpp.i | ||
.PHONY : functions.i | ||
|
||
# target to preprocess a source file | ||
functions.cpp.i: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-functions.dir/build.make CMakeFiles/cabernet-examples-functions.dir/functions.cpp.i | ||
.PHONY : functions.cpp.i | ||
|
||
functions.s: functions.cpp.s | ||
.PHONY : functions.s | ||
|
||
# target to generate assembly for a file | ||
functions.cpp.s: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-functions.dir/build.make CMakeFiles/cabernet-examples-functions.dir/functions.cpp.s | ||
.PHONY : functions.cpp.s | ||
|
||
layers.o: layers.cpp.o | ||
.PHONY : layers.o | ||
|
||
# target to build an object file | ||
layers.cpp.o: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-layers.dir/build.make CMakeFiles/cabernet-examples-layers.dir/layers.cpp.o | ||
.PHONY : layers.cpp.o | ||
|
||
layers.i: layers.cpp.i | ||
.PHONY : layers.i | ||
|
||
# target to preprocess a source file | ||
layers.cpp.i: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-layers.dir/build.make CMakeFiles/cabernet-examples-layers.dir/layers.cpp.i | ||
.PHONY : layers.cpp.i | ||
|
||
layers.s: layers.cpp.s | ||
.PHONY : layers.s | ||
|
||
# target to generate assembly for a file | ||
layers.cpp.s: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-layers.dir/build.make CMakeFiles/cabernet-examples-layers.dir/layers.cpp.s | ||
.PHONY : layers.cpp.s | ||
|
||
operations.o: operations.cpp.o | ||
.PHONY : operations.o | ||
|
||
# target to build an object file | ||
operations.cpp.o: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-operations.dir/build.make CMakeFiles/cabernet-examples-operations.dir/operations.cpp.o | ||
.PHONY : operations.cpp.o | ||
|
||
operations.i: operations.cpp.i | ||
.PHONY : operations.i | ||
|
||
# target to preprocess a source file | ||
operations.cpp.i: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-operations.dir/build.make CMakeFiles/cabernet-examples-operations.dir/operations.cpp.i | ||
.PHONY : operations.cpp.i | ||
|
||
operations.s: operations.cpp.s | ||
.PHONY : operations.s | ||
|
||
# target to generate assembly for a file | ||
operations.cpp.s: | ||
$(MAKE) $(MAKESILENT) -f CMakeFiles/cabernet-examples-operations.dir/build.make CMakeFiles/cabernet-examples-operations.dir/operations.cpp.s | ||
.PHONY : operations.cpp.s | ||
|
||
# Help Target | ||
help: | ||
@echo "The following are some of the valid targets for this Makefile:" | ||
@echo "... all (the default if no target is provided)" | ||
@echo "... clean" | ||
@echo "... depend" | ||
@echo "... edit_cache" | ||
@echo "... rebuild_cache" | ||
@echo "... cabernet-examples-functions" | ||
@echo "... cabernet-examples-layers" | ||
@echo "... cabernet-examples-operations" | ||
@echo "... functions.o" | ||
@echo "... functions.i" | ||
@echo "... functions.s" | ||
@echo "... layers.o" | ||
@echo "... layers.i" | ||
@echo "... layers.s" | ||
@echo "... operations.o" | ||
@echo "... operations.i" | ||
@echo "... operations.s" | ||
.PHONY : help | ||
|
||
|
||
|
||
#============================================================================= | ||
# Special targets to cleanup operation of make. | ||
|
||
# Special rule to run CMake to check the build system integrity. | ||
# No rule that depends on this can have commands that come from listfiles | ||
# because they might be regenerated. | ||
cmake_check_build_system: | ||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
.PHONY : cmake_check_build_system | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.