/external/tensorflow/tensorflow/core/common_runtime/ |
D | executor_factory.cc | 40 void ExecutorFactory::Register(const string& executor_type, in Register() argument 43 if (!executor_factories()->insert({executor_type, factory}).second) { in Register() 45 << "under" << executor_type; in Register() 61 Status ExecutorFactory::GetFactory(const string& executor_type, in GetFactory() argument 65 auto iter = executor_factories()->find(executor_type); in GetFactory() 69 executor_type, " ", RegisteredFactoriesErrorMessageLocked()); in GetFactory() 76 Status NewExecutor(const string& executor_type, in NewExecutor() argument 81 TF_RETURN_IF_ERROR(ExecutorFactory::GetFactory(executor_type, &factory)); in NewExecutor()
|
D | executor_factory.h | 39 static void Register(const string& executor_type, ExecutorFactory* factory); 40 static Status GetFactory(const string& executor_type, 44 Status NewExecutor(const string& executor_type,
|
D | kernel_benchmark_testlib.cc | 47 Rendezvous* rendez, const char* executor_type) { in Benchmark() argument 91 TF_CHECK_OK(NewExecutor(executor_type, params, std::unique_ptr<Graph>(init), in Benchmark() 100 NewExecutor(executor_type, params, std::unique_ptr<Graph>(g), &exec_)); in Benchmark()
|
D | kernel_benchmark_testlib.h | 42 Rendezvous* rendez = nullptr, const char* executor_type = "");
|
D | function.cc | 388 string executor_type; member 739 item->executor_type = ExecutorType(options, attrs); in Instantiate() 861 string executor_type; in CreateItem() local 866 executor_type = (*item)->executor_type; in CreateItem() 900 TF_RETURN_IF_ERROR(NewExecutor(executor_type, params, std::move(g), &exec)); in CreateItem()
|
D | function_test.cc | 620 options.executor_type = ""; in TEST_F() 629 options.executor_type = "DEFAULT"; in TEST_F() 638 options.executor_type = "DUMMY"; in TEST_F() 657 options.executor_type = "DUMMY"; in TEST_F() 668 options.executor_type = "UNKNOWN_EXECUTOR"; in TEST_F()
|
D | process_function_library_runtime.cc | 681 opts.executor_type = options.executor_type; in InstantiateMultiDevice()
|
/external/tensorflow/tensorflow/python/eager/ |
D | context.py | 90 def __init__(self, executor_type=None, config_proto=None): argument 105 self.executor_type = executor_type 108 def executor_type(self): member in FunctionCallOptions 111 @executor_type.setter 112 def executor_type(self, executor_type): member in FunctionCallOptions 113 self._executor_type = executor_type 1069 def function_executor_type(executor_type): argument 1084 current_options.executor_type = executor_type
|
D | function.py | 405 executor_type = function_call_options.executor_type or "" 414 attrs=("executor_type", executor_type, 431 executor_type=executor_type)
|
/external/tensorflow/tensorflow/python/ops/ |
D | functional_ops.py | 780 executor_type=None): argument 816 if executor_type is None: 817 executor_type = "" 823 executor_type=executor_type) 827 executor_type=executor_type) 841 s=compat.as_bytes(executor_type))
|
D | control_flow_util_v2.py | 118 context.context().function_call_options.executor_type !=
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | executor.cc | 378 grpc_closure_scheduler* grpc_executor_scheduler(GrpcExecutorType executor_type, in grpc_executor_scheduler() argument 380 return &schedulers_[executor_type][job_type]; in grpc_executor_scheduler() 419 bool grpc_executor_is_threaded(GrpcExecutorType executor_type) { in grpc_executor_is_threaded() argument 420 GPR_ASSERT(executor_type < GRPC_NUM_EXECUTORS); in grpc_executor_is_threaded() 421 return executors[executor_type]->IsThreaded(); in grpc_executor_is_threaded()
|
D | executor.h | 106 grpc_closure_scheduler* grpc_executor_scheduler(GrpcExecutorType executor_type, 111 bool grpc_executor_is_threaded(GrpcExecutorType executor_type);
|
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 114 self.executor = self.executor_type( 119 self.executor = self.executor_type( 148 executor_type = futures.ThreadPoolExecutor variable in ThreadPoolMixin 152 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolForkMixin 162 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolSpawnMixin 167 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolForkserverMixin 299 """.format(executor_type=self.executor_type.__name__, 327 """.format(executor_type=self.executor_type.__name__, 719 self.executor_type(max_workers=number) 742 executor = self.executor_type() [all …]
|
/external/tensorflow/tensorflow/core/grappler/clusters/ |
D | cluster.cc | 46 void Cluster::SetExecutorType(const string* executor_type) { in SetExecutorType() argument 47 options_.config.mutable_experimental()->set_executor_type(*executor_type); in SetExecutorType()
|
D | cluster.h | 76 void SetExecutorType(const string* executor_type);
|
/external/python/futures/ |
D | test_futures.py | 142 self.executor = self.executor_type(max_workers=self.worker_count) 166 executor_type = futures.ThreadPoolExecutor variable in ThreadPoolMixin 170 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolMixin 188 """ % (self.executor_type.__name__, self.executor_type.__name__)) 511 self.executor_type(max_workers=number) 528 executor = self.executor_type()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.experimental.pbtxt | 5 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
|
D | tensorflow.-config-proto.-experimental.pbtxt | 12 name: "executor_type"
|
D | tensorflow.-config-proto.pbtxt | 135 name: "executor_type"
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.experimental.pbtxt | 5 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | function_utils_test.cc | 207 key: "executor_type" 460 key: "executor_type"
|
/external/tensorflow/tensorflow/core/framework/ |
D | function.cc | 879 if (!options.executor_type.empty()) { in ExecutorType() 880 return options.executor_type; in ExecutorType() 918 string executor_type = FunctionLibraryRuntime::ExecutorType(options, attrs); in Canonicalize() local 919 if (!executor_type.empty()) { in Canonicalize() 920 entries.push_back(strings::StrCat(kExecutorAttr, "=", executor_type)); in Canonicalize()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | partitioned_function_ops.cc | 181 opts.executor_type = executor_type_; in Instantiate()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | kernel_and_device.cc | 112 options.executor_type = it->second.s(); in Init()
|