I am trying to replace a block of computation intensive code in PSI4 with a machine learning model, in order to speed it up (just a proof-of-concept project). I’m looking at
LibXCFunctional::compute_functional() now. I’d like to use Tensorflow to invoke my machine learning model here. I have compiled and obtained a shared library libtensorflow_cc.so containing tensorflow C++ APIs. I was trying to link this library to PSI4, but I was totally lost… I am not very familiar with cmake but I assume that I should add a
target_link_libraries() some where. Does anyone know where exactly?