Commit 57613bcf authored by Jared Duke's avatar Jared Duke Committed by TensorFlower Gardener
Browse files

Lazily create the Eigen thread pool for TFLite

Currently, the thread pool is created as soon as IncrementUsageCounter
is called. However, that may be called even if the ThreadPool goes unused.
Instead, create the ThreadPool lazily when the ThreadPoolDevice is queried.

PiperOrigin-RevId: 237338488
parent 90b561ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment