Home
last modified time | relevance | path

Searched refs:ScopedUnref (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/core/platform/
Drefcount.h73 class ScopedUnref {
75 explicit ScopedUnref(const RefCounted* o) : obj_(o) {} in ScopedUnref() function
76 ~ScopedUnref() { in ~ScopedUnref()
83 ScopedUnref(const ScopedUnref&) = delete;
84 void operator=(const ScopedUnref&) = delete;
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr_test.cc147 core::ScopedUnref unref(rendez); in TEST_F()
167 core::ScopedUnref unref(rendez); in TEST_F()
181 core::ScopedUnref unref(rendez); in TEST_F()
201 core::ScopedUnref unref(rendez); in TEST_F()
225 core::ScopedUnref unref(rendez); in TEST_F()
265 core::ScopedUnref unref(rendez); in TEST_F()
298 core::ScopedUnref unref(rendez); in TEST_F()
317 core::ScopedUnref unref(rendez); in TEST_F()
/external/tensorflow/tensorflow/core/lib/core/
Drefcount_test.cc95 TEST_F(RefTest, ScopedUnref) { in TEST_F() argument
96 { ScopedUnref unref(new MyRef); } in TEST_F()
101 { ScopedUnref unref(nullptr); } in TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dstage_op.cc208 core::ScopedUnref scope(buf); in Compute()
233 core::ScopedUnref scope(buf); in Compute()
264 core::ScopedUnref scope(buf); in Compute()
298 core::ScopedUnref scope(buf); in Compute()
325 core::ScopedUnref scope(buf); in Compute()
Dlookup_table_init_op.cc52 core::ScopedUnref unref_me(table); in Compute()
121 core::ScopedUnref unref_me(table); in Compute()
179 core::ScopedUnref unref_me(table); in ComputeAsync()
Dmap_stage_op.cc520 core::ScopedUnref scope(map); in Compute()
570 core::ScopedUnref scope(map); in Compute()
619 core::ScopedUnref scope(map); in Compute()
666 core::ScopedUnref scope(map); in Compute()
719 core::ScopedUnref scope(map); in Compute()
750 core::ScopedUnref scope(map); in Compute()
783 core::ScopedUnref scope(map); in Compute()
Dgenerate_vocab_remapping_op.cc65 core::ScopedUnref unref_new(new_vocab_table); in Compute()
97 core::ScopedUnref unref_old(old_vocab_table); in Compute()
Dstack.cc225 core::ScopedUnref unref(stack); in ComputeAsync()
294 core::ScopedUnref unref(stack); in ComputeAsync()
334 core::ScopedUnref unref(stack); in Compute()
Dtensor_array_ops.cc310 core::ScopedUnref unref(tensor_array); in CreateTensorArray()
433 core::ScopedUnref unref(tensor_array); in Compute()
515 core::ScopedUnref unref(tensor_array); in Compute()
603 core::ScopedUnref unref(tensor_array); in Compute()
828 core::ScopedUnref unref(tensor_array); in Compute()
1036 core::ScopedUnref unref(tensor_array); in Compute()
1233 core::ScopedUnref unref(tensor_array); in Compute()
1400 core::ScopedUnref unref(tensor_array); in Compute()
1445 core::ScopedUnref unref(tensor_array); in Compute()
Dreader_ops.cc85 core::ScopedUnref unref_me(queue); in ComputeWithReader()
119 core::ScopedUnref unref_me(queue); in ComputeWithReader()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op_test.cc165 core::ScopedUnref sc(cache_resource); in TEST_F()
218 core::ScopedUnref sc(cache_resource); in TEST_F()
246 core::ScopedUnref sc(cache_resource); in TEST_F()
274 core::ScopedUnref sc(cache_resource); in TEST_F()
Dget_calibration_data_op.cc48 core::ScopedUnref sc(resource); in Compute()
Dtrt_engine_op.cc473 core::ScopedUnref sc(helper); in ExecuteNativeSegment()
491 core::ScopedUnref sc(helper); in ExecuteCalibration()
617 core::ScopedUnref sc(helper); in ComputeAsync()
622 core::ScopedUnref unref_cache_res(cache_res); in ComputeAsync()
1058 core::ScopedUnref sc(cache_res); in AllocateCalibrationResources()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_compile_ops.cc163 core::ScopedUnref mesh_state_unref(mesh_state); in Compute()
190 core::ScopedUnref cache_unref(cache); in Compute()
251 core::ScopedUnref cache_unref(cache); in Compute()
/external/tensorflow/tensorflow/core/summary/
Dloader.cc80 core::ScopedUnref unref_db(db); in main()
89 core::ScopedUnref unref(db_writer); in main()
Dschema_test.cc28 core::ScopedUnref unref_db(db); in TEST()
Dvacuum.cc28 core::ScopedUnref db_unref(db); in Vacuum()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc280 core::ScopedUnref unref_ctx(ctx); in CreateContext()
339 core::ScopedUnref context_unref(server_context); in UpdateContext()
437 core::ScopedUnref context_unref(context); in RunComponentFunction()
560 core::ScopedUnref context_unref(context); in Enqueue()
608 core::ScopedUnref context_unref(context); in WaitQueueDone()
622 core::ScopedUnref context_unref(context); in KeepAlive()
638 core::ScopedUnref context_unref(context); in CloseContext()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_handle_to_key_op.cc44 core::ScopedUnref cache_unref(cache); in Compute()
Dtpu_configuration_ops.cc123 core::ScopedUnref compilation_cache_ref(compilation_cache); in Compute()
193 core::ScopedUnref mesh_state_unref(mesh_state); in Compute()
199 core::ScopedUnref pod_state_unref(pod_state); in Compute()
/external/tensorflow/tensorflow/core/kernels/data/
Diterator_ops.cc205 core::ScopedUnref scoped_unref(dataset); in Restore()
604 core::ScopedUnref unref_iterator(iterator_resource); in DoCompute()
875 core::ScopedUnref unref_iterator(*iterator); in TryInit()
988 core::ScopedUnref unref_iterator(iterator); in DoCompute()
1017 core::ScopedUnref unref_iterator(iterator); in DoCompute()
1101 core::ScopedUnref unref_iterator(iterator_resource); in Compute()
1140 core::ScopedUnref unref_iterator(iterator_resource); in Compute()
1162 core::ScopedUnref unref_iterator(iterator_resource); in Compute()
/external/tensorflow/tensorflow/core/common_runtime/
Dcopy_tensor.cc59 core::ScopedUnref status_cb_unref(status_cb); in CopyHostToDevice()
131 core::ScopedUnref status_cb_unref(status_cb); in CopyDeviceToDevice()
339 core::ScopedUnref status_cb_unref(status_cb); in CopyDeviceToHost()
Dbase_collective_executor.cc314 core::ScopedUnref unref(col_impl); in ExecuteAsync()
329 core::ScopedUnref unref(col_impl); in ExecuteAsync()
340 core::ScopedUnref unref(col_impl); in ExecuteAsync()
Dhierarchical_tree_broadcaster_test.cc62 core::ScopedUnref unref(cp); \
531 core::ScopedUnref unref(broadcaster); in RunSubdivPermsTest()
683 core::ScopedUnref unref(broadcaster); in DoBroadcast()
732 core::ScopedUnref unref(cp); in TEST_F()
753 core::ScopedUnref unref(cp); in TEST_F()
792 core::ScopedUnref unref(cp); in TEST_F()
Dring_reducer_test.cc404 core::ScopedUnref unref(reducer); in RunSubdivPermsTest()
522 core::ScopedUnref unref(reducer); in DoReduce()
601 core::ScopedUnref unref(cp); in TEST_F()
635 core::ScopedUnref unref(cp); in TEST_F()
667 core::ScopedUnref unref(cp); in TEST_F()

123