Revert to initializing number of threads when SetNumThreads is called. Requiring it
authorA. Unique TensorFlower <gardener@tensorflow.org>
Mon, 26 Mar 2018 18:47:50 +0000 (11:47 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 26 Mar 2018 18:50:29 +0000 (11:50 -0700)
commitd2604f8dcb8a63ca063f712c24ce5aa63403b0aa
tree6109456e2238ab20f647639aa8f05c0aba5b128d
parent6d46c21e9f300d07e30a2185671f07d34fac3999
Revert to initializing number of threads when SetNumThreads is called. Requiring it
to happen before OpInit() is way too confusing for users.

PiperOrigin-RevId: 190499644
tensorflow/contrib/lite/BUILD
tensorflow/contrib/lite/interpreter.cc
tensorflow/contrib/lite/kernels/conv.cc
tensorflow/contrib/lite/kernels/eigen_support.cc
tensorflow/contrib/lite/kernels/eigen_support.h
tensorflow/contrib/lite/kernels/gemm_support.cc
tensorflow/contrib/lite/kernels/gemm_support.h