Home
last modified time | relevance | path

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

1234

/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
80 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.cc51 Rendezvous* rendez, const char* executor_type, in Benchmark() argument
115 TF_CHECK_OK(NewExecutor(executor_type, params, *init, &init_exec)); in Benchmark()
122 TF_CHECK_OK(NewExecutor(executor_type, params, *g, &exec_)); in Benchmark()
Dkernel_benchmark_testlib.h58 Rendezvous* rendez = nullptr, const char* executor_type = "",
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_saved_model_optimize_global_tensors_interprocedural.mlir19 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
24 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
52 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_com…
58 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_com…
83 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
84 …%val_2 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_c…
110 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
116 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
144 …%val = "tf.StatefulPartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f …
150 …%val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_cal…
[all …]
Dinlining.mlir14 …%result = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f = …
31 …%result = "tf.TPUPartitionedCall"(%0) {config = "", config_proto = "", executor_type = "", f = @si…
48 …%result = "tf.PartitionedCall"(%arg) {config = "", config_proto = "", executor_type = "", f = @inl…
73 …%result = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f = …
77 …%result_2 = "tf.StatefulPartitionedCall"() {config = "", config_proto = "", executor_type = "", f …
Dtpu_identity_pruning.mlir42 …%1 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @callee0…
55 …%1 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @callee1…
82 …%2 = "tf.PartitionedCall"(%1) {config = "", config_proto = "", executor_type = "", f = @callee2} :…
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py120 self.executor = self.executor_type(
125 self.executor = self.executor_type(
154 executor_type = futures.ThreadPoolExecutor variable in ThreadPoolMixin
158 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolForkMixin
168 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolSpawnMixin
173 executor_type = futures.ProcessPoolExecutor variable in ProcessPoolForkserverMixin
305 """.format(executor_type=self.executor_type.__name__,
333 """.format(executor_type=self.executor_type.__name__,
347 executor = self.executor_type(max_workers=3)
374 if self.executor_type == futures.ProcessPoolExecutor:
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Dexecutor.h106 grpc_closure_scheduler* grpc_executor_scheduler(GrpcExecutorType executor_type,
111 bool grpc_executor_is_threaded(GrpcExecutorType executor_type);
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()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dexecutor.h87 ExecutorType executor_type = ExecutorType::DEFAULT,
101 static bool IsThreaded(ExecutorType executor_type);
Dexecutor.cc408 ExecutorType executor_type, ExecutorJobType job_type) { in Run() argument
409 executor_enqueue_fns_[static_cast<size_t>(executor_type)] in Run()
446 bool Executor::IsThreaded(ExecutorType executor_type) { in IsThreaded() argument
447 GPR_ASSERT(executor_type < ExecutorType::NUM_EXECUTORS); in IsThreaded()
448 return executors[static_cast<size_t>(executor_type)]->IsThreaded(); in IsThreaded()
/external/tensorflow/tensorflow/python/ops/
Dfunctional_ops.py1131 executor_type=None): argument
1167 if executor_type is None:
1168 executor_type = ""
1177 executor_type=executor_type)
1184 executor_type=executor_type)
1198 s=compat.as_bytes(executor_type))
Dcontrol_flow_util_v2.py125 context.context().function_call_options.executor_type !=
282 if (context.context().function_call_options.executor_type ==
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DPartitionedCall.pbtxt90 name: "executor_type"
136 name: "executor_type"
DStatefulPartitionedCall.pbtxt92 name: "executor_type"
139 name: "executor_type"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DPartitionedCall.pbtxt90 name: "executor_type"
136 name: "executor_type"
DStatefulPartitionedCall.pbtxt92 name: "executor_type"
139 name: "executor_type"
/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()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_island_inlining/
Dexecutor_tpuv1_inline_tpu_island.mlir11 …nd wraps "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @_tp…
31 …tf.PartitionedCall"(%arg0, %outputs) {config = "", config_proto = "", executor_type = "", f = @_tp…
/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/python/eager/
Dcontext.py119 def __init__(self, executor_type=None, config_proto=None): argument
134 self.executor_type = executor_type
137 def executor_type(self): member in FunctionCallOptions
140 @executor_type.setter
141 def executor_type(self, executor_type): member in FunctionCallOptions
142 self._executor_type = executor_type
2193 def function_executor_type(executor_type): argument
2208 current_options.executor_type = executor_type
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.experimental.pbtxt17 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.experimental.pbtxt29 argspec: "args=[\'executor_type\'], varargs=None, keywords=None, defaults=None"
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/
Dfunction-control-ret.mlir6 …() {Tin = [], Tout = [], config = "", config_proto = "", device = "", executor_type = "", f = @foo…

1234