Is there way to package Tensorflow for c++ api? -
i've been developing c++ project using tensorflow c++ api. execute created tensorflow's graph python. build using bazel tensorflow code now. think it's inefficient way.
i want tensorflow library , header files, , compile project using cmake.
i know how build shared library.
bazel build -c opt --config=cuda //tensorflow:libtensorflow.so
command make libtensorflow.so file. can't find header files build project.
is there way package tensorflow library c++? such mvn package
command.
when building against shared library, headers use in $project_home/bazel-genfiles
.
adding $project_home/bazel-genfiles
linker header list should enough.
Comments
Post a Comment