问题
I'm running Tensorflow programs with a simulator that does not support multi-threading. I changed intra_op_parallelism_threads to 1 in tensorflow/core/common_runtime/local_device.cc at line 38 but I still get runtime errors as soon as the treading starts. My guess is the multi-theading setup is still there. Is it possible to disable multi-threading?
回答1:
You cannot, as of early 2017, disable tensorflow's multithreading.
来源:https://stackoverflow.com/questions/44767233/how-to-disable-tensorflows-multi-threading