Home
last modified time | relevance | path

Searched refs:thread_factory (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/data/
Dunbounded_thread_pool_test.cc28 auto thread_factory = pool.get_thread_factory(); in TEST() local
36 threads.push_back(thread_factory->StartThread("", [=, &i, in TEST()
37 &thread_factory]() { in TEST()
41 thread_factory->StartThread("", [&i]() { ++i; })); in TEST()
53 auto thread_factory = pool.get_thread_factory(); in TEST() local
65 threads.push_back(thread_factory->StartThread("", [&bc, &n]() { in TEST()
Dstandalone.cc143 params.thread_factory = unbounded_thread_pool_.get_thread_factory(); in MakeIterator()
/external/tensorflow/tensorflow/core/framework/
Ddataset.h411 thread_factory(ctx->thread_factory()), in Params()
496 std::shared_ptr<ThreadFactory> thread_factory = nullptr; member
556 const std::shared_ptr<ThreadFactory>& thread_factory() { in thread_factory() function
557 return params_.thread_factory; in thread_factory()
579 if (params_.thread_factory) { in StartThread()
580 return params_.thread_factory->StartThread(name, std::move(fn)); in StartThread()
DBUILD92 "thread_factory.h",
244 "thread_factory.h",
443 "thread_factory.h",
/external/tensorflow/tensorflow/core/kernels/data/
Diterator_ops.cc129 params.thread_factory = unbounded_thread_pool_.get_thread_factory(); in GetNext()
193 params.thread_factory = unbounded_thread_pool_.get_thread_factory(); in Restore()
229 params.thread_factory = unbounded_thread_pool_.get_thread_factory(); in SetIteratorFromDataset()
Dmulti_device_iterator_ops.cc141 params.thread_factory = unbounded_thread_pool_.get_thread_factory(); in GetNextFromShard()
/external/tensorflow/tensorflow/core/
DBUILD489 "//tensorflow/core/framework:thread_factory.h",