- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Peal (0.14 sec)
-
tensorflow/c/env_test.cc
} namespace { struct SomeThreadData { ::tensorflow::mutex mu; bool did_work = false; }; void SomeThreadFunc(void* data) { auto* real_data = static_cast<SomeThreadData*>(data); ::tensorflow::mutex_lock l(real_data->mu); real_data->did_work = true; } } // namespace TEST(TestEnv, TestThreads) { TF_ThreadOptions options; TF_DefaultThreadOptions(&options);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0)