Home
last modified time | relevance | path

Searched refs:cpu_factory (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_factory.cc97 auto cpu_factory = GetFactory("CPU"); in AddDevices() local
98 if (!cpu_factory) { in AddDevices()
103 TF_RETURN_IF_ERROR(cpu_factory->CreateDevices(options, name_prefix, devices)); in AddDevices()
112 if (factory != cpu_factory) { in AddDevices()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc110 DeviceFactory* cpu_factory = DeviceFactory::GetFactory("CPU"); in OptimizeGraph() local
111 TF_RETURN_IF_ERROR(cpu_factory->CreateDevices( in OptimizeGraph()
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_subgraphs_pass.cc2548 DeviceFactory* cpu_factory = DeviceFactory::GetFactory("CPU"); in Run() local
2549 if (!cpu_factory) { in Run()
2553 TF_RETURN_IF_ERROR(cpu_factory->CreateDevices( in Run()