Cleanup simulator and add usage instructions (#1050)

* cleanup simulator files

* minor updates

* update readme

* keras runner builds

* hmm, still doesn't work

* keras runner works

* should work with python3 keras mod

* touchups

old-commit-hash: c50c718293
This commit is contained in:
George Hotz
2020-02-04 19:46:57 -08:00
committed by GitHub
parent 33a589ba66
commit 54dfddd245
21 changed files with 197 additions and 184 deletions
+5 -7
View File
@@ -14,13 +14,11 @@ if arch == "aarch64":
else:
libs += ['symphony-cpu', 'pthread']
if FindFile('libtensorflow.so', env['LIBPATH']):
# for tensorflow support
common_src += ['runners/tfmodel.cc']
libs += ['tensorflow']
# tell runners to use it
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
# for tensorflow support
common_src += ['runners/tfmodel.cc']
# tell runners to use it
lenv['CFLAGS'].append("-DUSE_TF_MODEL")
lenv['CXXFLAGS'].append("-DUSE_TF_MODEL")
common = lenv.Object(common_src)