Home
last modified time | relevance | path

Searched refs:done_callback (Results 1 – 19 of 19) sorted by relevance

/external/tensorflow/tensorflow/core/nccl/
Dnccl_manager.h60 Tensor* output, int global_rank, DoneCallback done_callback) in Participant()
68 done_callback(std::move(done_callback)), in Participant()
108 DoneCallback done_callback; member
Dnccl_manager.cc497 collective->participants[i]->done_callback(s); in RunCollective()
618 auto done_callback = [collective, p_idx, nccl_result]() { in LoopKernelLaunches() local
620 collective->participants[p_idx]->done_callback(Status::OK()); in LoopKernelLaunches()
624 collective->participants[p_idx]->done_callback(errors::Unknown( in LoopKernelLaunches()
637 p->event_mgr->ThenExecute(comm_stream, done_callback); in LoopKernelLaunches()
/external/grpc-grpc/src/python/grpcio/grpc/beta/
Dutilities.py69 for done_callback in done_callbacks:
71 done_callback, _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE, self)
84 for done_callback in done_callbacks:
86 done_callback, _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE, self)
D_client_adaptations.py149 def done_callback(): function
153 registered = self._call.add_callback(done_callback)
154 return None if registered else done_callback()
/external/tensorflow/tensorflow/core/kernels/
Dconditional_accumulator_base.h94 DoneCallback done_callback; // must be run outside mu_ member
101 Attempt(int elements_requested, DoneCallback done_callback, in Attempt()
105 done_callback(std::move(done_callback)), in Attempt()
Dqueue_base.h160 DoneCallback done_callback; // must be run outside mu_ member
170 Attempt(int32 elements_requested, DoneCallback done_callback, in Attempt()
174 done_callback(done_callback), in Attempt()
Dconditional_accumulator_base.cc85 attempt->context, attempt->done_callback); in TryTakeGrad()
123 std::swap(callback, attempt.done_callback); in Cancel()
154 clean_up->emplace_back(std::move(cur_attempt->done_callback), in TryAttemptLocked()
Dbatch_kernels.cc242 AsyncOpKernel::DoneCallback done_callback) { in RegisterInput() argument
270 batch_components->done_callback = std::move(done_callback); in RegisterInput()
289 AsyncOpKernel::DoneCallback done_callback; member
492 batch->mutable_task(i)->done_callback(); in ProcessFuncBatch()
564 batch->task(batch->num_tasks() - 1).done_callback; in ProcessBatch()
589 task.done_callback); in ProcessBatch()
600 task.done_callback); in ProcessBatch()
609 task.done_callback); in ProcessBatch()
620 batch->mutable_task(task_idx)->done_callback(); in ProcessBatch()
982 for (const AsyncOpKernel::DoneCallback& done_callback : in Compute() local
[all …]
Dqueue_base.cc208 std::swap(callback, attempt.done_callback); in Cancel()
230 callbacks.emplace_back(std::move(attempt.done_callback)); in CloseAndCancel()
303 clean_up->emplace_back(std::move(cur_attempt->done_callback), in TryAttemptLocked()
Dcollective_nccl_reducer.cc140 auto done_callback = [&nccl_done, &nccl_status](const Status& s) { in Run() local
147 col_params_->default_rank, std::move(done_callback)); in Run()
Dfifo_queue.cc179 attempt->done_callback = [callback, tuple]() { callback(tuple); }; in TryDequeue()
340 attempt->done_callback = [callback, tuple]() { in TryDequeueMany()
Dpriority_queue.cc222 attempt->done_callback = [callback, tuple]() { callback(tuple); }; in TryDequeue()
370 attempt->done_callback = [callback, tuple]() { in TryDequeueMany()
Drandom_shuffle_queue_op.cc258 attempt->done_callback = [callback, tuple]() { callback(tuple); }; in TryDequeue()
418 attempt->done_callback = [callback, tuple]() { in TryDequeueMany()
Dpadding_fifo_queue.cc220 attempt->done_callback = [callback, tuple]() { in TryDequeueMany()
/external/grpc-grpc/src/python/grpcio/grpc/
D_utilities.py100 for done_callback in done_callbacks:
102 done_callback, _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE, self)
115 for done_callback in done_callbacks:
117 done_callback, _DONE_CALLBACK_EXCEPTION_LOG_MESSAGE, self)
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_execute_node.h36 done_callback) in RemoteExecuteNode()
41 done_callback_(std::move(done_callback)) { in RemoteExecuteNode()
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc43 std::function<void()> done_callback) in TestDelegate() argument
45 done_callback_(std::move(done_callback)) {} in TestDelegate()
/external/python/cpython3/Lib/asyncio/
Dwindows_events.py604 def _wait_cancel(self, event, done_callback): argument
608 fut._done_callback = done_callback
/external/libchrome/mojo/public/cpp/bindings/tests/
Dassociated_interface_unittest.cc1070 auto done_callback = base::Bind( in TEST_F() local
1084 ->Echo(123, base::Bind(done_callback, main_task_runner, in TEST_F()