tensorflow-c++

TensorFlow C API Logging Setting

安稳与你 提交于 2021-01-04 07:55:38
问题 I am trying to suppress the logging of the tensorflow in C-API when it loads a saved model. The logging looks like this 2020-07-24 13:06:39.805191: I tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: /home/philgun/tf-C-API/my_model 2020-07-24 13:06:39.806627: I tensorflow/cc/saved_model/reader.cc:54] Reading meta graph with tags { serve } 2020-07-24 13:06:39.819994: I tensorflow/cc/saved_model/loader.cc:202] Restoring SavedModel bundle. 2020-07-24 13:06:39.875249: I tensorflow

TensorFlow C API Logging Setting

泪湿孤枕 提交于 2021-01-04 07:53:46
问题 I am trying to suppress the logging of the tensorflow in C-API when it loads a saved model. The logging looks like this 2020-07-24 13:06:39.805191: I tensorflow/cc/saved_model/reader.cc:31] Reading SavedModel from: /home/philgun/tf-C-API/my_model 2020-07-24 13:06:39.806627: I tensorflow/cc/saved_model/reader.cc:54] Reading meta graph with tags { serve } 2020-07-24 13:06:39.819994: I tensorflow/cc/saved_model/loader.cc:202] Restoring SavedModel bundle. 2020-07-24 13:06:39.875249: I tensorflow