after literally hours of pain, keras learns mnist

This commit is contained in:
2019-11-29 22:10:25 -08:00
parent 87208d599d
commit 04c35ed9b6
5 changed files with 191 additions and 196 deletions

View File

@@ -1,4 +1,5 @@
project('fedavg_mpi', 'c')
add_global_arguments('-Wno-unused-command-line-argument', language: 'c')
add_project_arguments(
'-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION',
language: 'c'
@@ -13,5 +14,6 @@ numpy_header = include_directories(run_command(
executable(
'fedavg_mpi', 'main.c', 'cythoned/library.c',
dependencies: [mpi, python],
include_directories: numpy_header
include_directories: numpy_header,
link_args: '-Wl,-w'
)