/external/tensorflow/tensorflow/core/lib/gtl/ |
D | cleanup_test.cc | 37 auto s_cleaner = gtl::MakeCleanup([&s] { s.assign("cleaned"); }); in TEST() 49 auto s_cleaner = gtl::MakeCleanup([] { s.append(" clean"); }); in TEST() 58 auto s_cleaner = gtl::MakeCleanup([&s] { s.assign("cleaned"); }); in TEST() 84 auto c = gtl::MakeCleanup(Appender(&s, " cleaned")); in TEST() 94 auto clean1 = gtl::MakeCleanup(Appender(&s, " 1")); in TEST() 95 auto clean2 = gtl::MakeCleanup(Appender(&s, " 2")); in TEST() 107 auto clean1 = gtl::MakeCleanup(Appender(&s, " 1")); in TEST() 108 AnyCleanup clean2 = gtl::MakeCleanup(Appender(&s, " 2")); in TEST() 119 auto clean1 = gtl::MakeCleanup(Appender(&s, " 1")); in TEST() 120 auto clean2 = gtl::MakeCleanup(Appender(&s, " 2")); in TEST() [all …]
|
D | cleanup.h | 106 TF_MUST_USE_RESULT Cleanup<DecayF> MakeCleanup(F&& f) { in MakeCleanup() function
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | transfer_manager.cc | 54 auto cleanup = tensorflow::gtl::MakeCleanup( in TransferLiteralFromDevice() 79 auto cleanup = tensorflow::gtl::MakeCleanup( in TransferLiteralFromDevice() 104 auto cleanup = tensorflow::gtl::MakeCleanup( in TransferLiteralToDevice() 119 auto cleanup = tensorflow::gtl::MakeCleanup( in TransferArrayFromDevice() 147 auto cleanup = tensorflow::gtl::MakeCleanup( in TransferArrayToDevice()
|
/external/tensorflow/tensorflow/core/framework/ |
D | model.cc | 83 auto cleanup = gtl::MakeCleanup( in OutputTimeLocked() 138 gtl::MakeCleanup([input_times]() { input_times->pop_back(); }); in OutputTimeLocked() 185 auto cleanup = gtl::MakeCleanup([input_times, old_input_time]() { in OutputTimeLocked() 238 gtl::MakeCleanup([input_times]() { input_times->pop_back(); }); in OutputTimeLocked() 279 auto cleanup = gtl::MakeCleanup([input_times, old_input_time]() { in OutputTimeLocked()
|
D | model_test.cc | 43 auto cleanup_meta = gtl::MakeCleanup([async_interleave_many, meta_source]() { in TEST_P() 49 auto cleanup1 = gtl::MakeCleanup([async_interleave_many, source1]() { in TEST_P() 55 auto cleanup2 = gtl::MakeCleanup([async_interleave_many, source2]() { in TEST_P()
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/ |
D | ignite_dataset_iterator.cc | 173 auto clean = gtl::MakeCleanup([err_msg_c] { delete[] err_msg_c; }); in CloseConnection() 252 auto clean = gtl::MakeCleanup([err_msg_c] { delete[] err_msg_c; }); in Handshake() 310 auto clean = gtl::MakeCleanup([err_msg_c] { delete[] err_msg_c; }); in ScanQuery() 362 auto clean = gtl::MakeCleanup([err_msg_c] { delete[] err_msg_c; }); in LoadNextPage()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | remote_device.cc | 74 auto cleanup = gtl::MakeCleanup( in NewRemoteDevices()
|
D | master_session.cc | 1254 auto cleanup = gtl::MakeCleanup([&workers, worker_cache] { in CreateWorkerSessions() 1336 auto cleanup = gtl::MakeCleanup([&workers, worker_cache] { in DeleteWorkerSessions() 1623 auto cleanup = gtl::MakeCleanup([this] { MarkRunCompletion(); }); in DoPartialRun() 1858 auto cleanup = gtl::MakeCleanup([this] { MarkRunCompletion(); }); in DoRunWithLocalExecution() 1941 auto cleanup = gtl::MakeCleanup([this] { MarkRunCompletion(); }); in DoRunCallable()
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/ |
D | ignite_plain_client_windows.cc | 62 auto clean = gtl::MakeCleanup([result] { freeaddrinfo(result); }); in Connect()
|
/external/tensorflow/tensorflow/core/lib/gif/ |
D | gif_io.cc | 63 const auto cleanup = gtl::MakeCleanup([gif_file]() { in Decode()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | functionalize_control_flow.cc | 107 auto cleanup_handle = gtl::MakeCleanup([&]() { in FunctionalizeControlFlowForFunction()
|
D | graph_compiler.cc | 112 auto output_registry_cleanup = gtl::MakeCleanup([&output_registry] { in Compile()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | parallel_interleave_dataset_op.cc | 435 auto cleanup = gtl::MakeCleanup([this, ctx] { RecordStop(ctx.get()); }); in CurrentElementsManager() 537 auto cleanup = gtl::MakeCleanup([this, ctx] { RecordStop(ctx.get()); }); in FetchResults() 580 auto cleanup = gtl::MakeCleanup([this, ctx] { RecordStop(ctx.get()); }); in FutureElementsManager()
|
D | dataset_utils.cc | 32 auto cleanup = gtl::MakeCleanup([ctx, fn_handle]() { in ComputeShortCircuitIndices()
|
D | prefetch_dataset_op.cc | 283 auto cleanup = gtl::MakeCleanup([this, ctx] { RecordStop(ctx.get()); }); in PrefetchThread()
|
D | parallel_map_iterator.cc | 273 auto cleanup = gtl::MakeCleanup([this, ctx] { RecordStop(ctx.get()); }); in RunnerThread()
|
D | iterator_ops.cc | 596 auto cleanup = gtl::MakeCleanup([raw_iterator, done] { in ComputeAsync() 692 auto cleanup = gtl::MakeCleanup([raw_iterator, done] { in ComputeAsync()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | nvptx_compiler.cc | 562 auto ptx_cleaner = tensorflow::gtl::MakeCleanup([&ptx_path] { in CompilePtx() 574 auto cubin_cleaner = tensorflow::gtl::MakeCleanup([&cubin_path] { in CompilePtx()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | numa_map_and_batch_dataset_op.cc | 236 auto cleanup = gtl::MakeCleanup( in GetNextInternal() 967 auto cleanup = gtl::MakeCleanup([this, &ctx] { in RunnerThread() 1029 gtl::MakeCleanup([this, numa_node, thread_num, &ctx]() { in WorkerThread()
|
D | indexed_dataset_op.cc | 355 auto cleanup = gtl::MakeCleanup([materialized_resource] { in Compute()
|
/external/tensorflow/tensorflow/compiler/xrt/kernels/ |
D | xrt_execute_op.cc | 177 auto buffer_releaser = gtl::MakeCleanup([&input_tuples]() { in DoWork()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_transfer_manager.cc | 115 auto cleanup = tensorflow::gtl::MakeCleanup([&buffers]() { in TransferLiteralToInfeed()
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | ram_file_block_cache.cc | 100 gtl::MakeCleanup([this, &downloaded_block, &key, &block] { in MaybeFetch()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | batch_kernels.cc | 497 gtl::MakeCleanup([&cleanup_fn, &status] { cleanup_fn(status); }); in ProcessFuncBatch() 533 auto run_finally = gtl::MakeCleanup([&]() { in ProcessFuncBatch()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | constant_folding.cc | 627 auto delete_tensors = gtl::MakeCleanup([&graph_runner, &outputs] { in ConstantFold()
|