Hi everyone,
I'm learning tensorflow core implementation right now, I found inside c++ core implementation there're lots of verbose messages like:
VLOG(1) << "Direct session inter op parallelism threads: " << num_threads;
However I found in implementation, it doesn't look like works:
// TODO(jeff): Define a proper implementation of VLOG_IS_ON
#define VLOG_IS_ON(lvl) ((lvl) <= 0)
#define VLOG(lvl) \
if (VLOG_IS_ON(lvl)) \
::tensorflow::internal::LogMessage(__FILE__, __LINE__, tensorflow::INFO)
I'm not sure how to enable such debug logs while running a normal tensorflow script (like mnist.py), I think it will be pretty helpful for new developers to understand overall logic!
Thanks in advance!
Best,
Wangda Tan