MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/core/common_runtime/process_util_test.cc:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace {
21
22TEST(ProcessUtilTest, NumThreads) {
23 SessionOptions opts;
24 opts.config.set_inter_op_parallelism_threads(10);
25 EXPECT_EQ(10, NumInterOpThreadsFromSessionOptions(opts));
26}
27
28TEST(ProcessUtilTest, ThreadPool) {
29 SessionOptions opts;

Callers

nothing calls this directly

Calls 3

NumThreadsMethod · 0.45

Tested by

no test coverage detected