Home
last modified time | relevance | path

Searched refs:executor_type (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor_factory.cc40 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()
Dexecutor_factory.h39 static void Register(const string& executor_type, ExecutorFactory* factory);
40 static Status GetFactory(const string& executor_type,
44 Status NewExecutor(const string& executor_type,
Dkernel_benchmark_testlib.cc47 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()
Dkernel_benchmark_testlib.h42 Rendezvous* rendez = nullptr, const char* executor_type = "");
Dfunction.cc388 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()
Dfunction_test.cc620 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()
Dprocess_function_library_runtime.cc681 opts.executor_type = options.executor_type; in InstantiateMultiDevice()
/external/tensorflow/tensorflow/python/eager/
Dcontext.py90 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
Dfunction.py405 executor_type = function_call_options.executor_type or ""
414 attrs=("executor_type", executor_type,
431 executor_type=executor_type)
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py780 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))
Dcontrol_flow_util_v2.py118 context.context().function_call_options.executor_type !=
/external/grpc-grpc/src/core/lib/iomgr/
Dexecutor.cc378 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()
Dexecutor.h106 grpc_closure_scheduler* grpc_executor_scheduler(GrpcExecutorType executor_type,
111 bool grpc_executor_is_threaded(GrpcExecutorType executor_type);
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py114 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/
Dcluster.cc46 void Cluster::SetExecutorType(const string* executor_type) { in SetExecutorType() argument
47 options_.config.mutable_experimental()->set_executor_type(*executor_type); in SetExecutorType()
Dcluster.h76 void SetExecutorType(const string* executor_type);
/external/python/futures/
Dtest_futures.py142 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/
Dtensorflow.experimental.pbtxt5 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
Dtensorflow.-config-proto.-experimental.pbtxt12 name: "executor_type"
Dtensorflow.-config-proto.pbtxt135 name: "executor_type"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.experimental.pbtxt5 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dfunction_utils_test.cc207 key: "executor_type"
460 key: "executor_type"
/external/tensorflow/tensorflow/core/framework/
Dfunction.cc879 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/
Dpartitioned_function_ops.cc181 opts.executor_type = executor_type_; in Instantiate()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc112 options.executor_type = it->second.s(); in Init()

12