Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/core/lib/core/
Drefcount.h73 class ScopedUnref {
75 explicit ScopedUnref(RefCounted* o) : obj_(o) {} in ScopedUnref() function
76 ~ScopedUnref() { in ~ScopedUnref()
83 ScopedUnref(const ScopedUnref&) = delete;
84 void operator=(const ScopedUnref&) = delete;
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/data/
Dmap_dataset_op_test.cc123 core::ScopedUnref scored_unref_range_dataset(range_dataset); in TEST_P()
134 core::ScopedUnref scoped_unref_map_dataset(map_dataset); in TEST_P()
180 core::ScopedUnref scoped_unref_range_dataset(range_dataset); in TEST_F()
191 core::ScopedUnref scoped_unref_map_dataset(map_dataset); in TEST_F()
207 core::ScopedUnref scoped_unref_range_dataset(range_dataset); in TEST_F()
218 core::ScopedUnref scoped_unref_map_dataset(map_dataset); in TEST_F()
235 core::ScopedUnref scoped_unref_range_dataset(range_dataset); in TEST_F()
246 core::ScopedUnref scoped_unref_map_dataset(map_dataset); in TEST_F()
287 core::ScopedUnref scoped_unref_range_dataset(range_dataset); in TEST_P()
298 core::ScopedUnref scoped_unref_map_dataset(map_dataset); in TEST_P()
[all …]
Drange_dataset_op_test.cc88 core::ScopedUnref scoped_unref(range_dataset); in TEST_P()
137 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
157 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
178 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
222 core::ScopedUnref scoped_unref(range_dataset); in TEST_P()
247 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
273 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
300 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
330 core::ScopedUnref scoped_unref(range_dataset); in TEST_F()
374 core::ScopedUnref scoped_unref(range_dataset); in TEST_P()
Dtensor_dataset_op_test.cc155 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_P()
205 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
231 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
257 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
283 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
314 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
340 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_P()
371 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_P()
403 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_P()
441 core::ScopedUnref scoped_unref(tensor_dataset); in TEST_F()
[all …]
Dsparse_tensor_slice_dataset_op_test.cc150 core::ScopedUnref scoped_unref(dataset); in TEST_F()
197 core::ScopedUnref scoped_unref(dataset); in TEST_F()
225 core::ScopedUnref scoped_unref(dataset); in TEST_F()
258 core::ScopedUnref scoped_unref(dataset); in TEST_F()
291 core::ScopedUnref scoped_unref(dataset); in TEST_F()
317 core::ScopedUnref scoped_unref(dataset); in TEST_F()
350 core::ScopedUnref scoped_unref(dataset); in TEST_F()
389 core::ScopedUnref scoped_unref(dataset); in TEST_F()
425 core::ScopedUnref scoped_unref(dataset); in TEST_F()
459 core::ScopedUnref scoped_unref(dataset); in TEST_F()
Dtensor_slice_dataset_op_test.cc162 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
224 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
261 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
303 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
347 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
376 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
419 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
468 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
508 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
552 core::ScopedUnref scored_unref(tensor_slice_dataset); in TEST_F()
Drepeat_dataset_op_test.cc155 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
227 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_F()
257 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
287 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
317 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
347 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_F()
382 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
419 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
456 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
499 core::ScopedUnref scoped_unref(repeat_dataset); in TEST_P()
Dtake_dataset_op_test.cc181 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
232 core::ScopedUnref scoped_unref(take_dataset); in TEST_F()
262 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
293 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
324 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
354 core::ScopedUnref scoped_unref(take_dataset); in TEST_F()
389 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
427 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
465 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
507 core::ScopedUnref scoped_unref(take_dataset); in TEST_P()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_kernels.cc56 core::ScopedUnref unref(s); in Compute()
87 core::ScopedUnref unref(db); in Compute()
93 core::ScopedUnref unref(s); in Compute()
106 core::ScopedUnref unref(s); in Compute()
132 core::ScopedUnref unref(s); in Compute()
157 core::ScopedUnref unref(s); in Compute()
178 core::ScopedUnref unref(s); in Compute()
201 core::ScopedUnref unref(s); in Compute()
230 core::ScopedUnref unref(s); in Compute()
266 core::ScopedUnref unref(s); in Compute()
[all …]
Dstage_op.cc208 core::ScopedUnref scope(buf); in Compute()
235 core::ScopedUnref scope(buf); in Compute()
268 core::ScopedUnref scope(buf); in Compute()
305 core::ScopedUnref scope(buf); in Compute()
335 core::ScopedUnref scope(buf); in Compute()
Dmap_stage_op.cc518 core::ScopedUnref scope(map); in Compute()
580 core::ScopedUnref scope(map); in Compute()
641 core::ScopedUnref scope(map); in Compute()
698 core::ScopedUnref scope(map); in Compute()
763 core::ScopedUnref scope(map); in Compute()
801 core::ScopedUnref scope(map); in Compute()
842 core::ScopedUnref scope(map); in Compute()
Dresource_variable_ops.cc141 core::ScopedUnref s(variable); in Compute()
262 core::ScopedUnref s(variable); in Compute()
355 core::ScopedUnref s(variable); in Compute()
406 core::ScopedUnref s(variable); in Compute()
497 core::ScopedUnref s(variable); in Compute()
568 core::ScopedUnref su(variable); in Compute()
619 core::ScopedUnref su(v); in Compute()
761 core::ScopedUnref unref_v(v); in Compute()
Dlookup_table_init_op.cc51 core::ScopedUnref unref_me(table); in Compute()
119 core::ScopedUnref unref_me(table); in Compute()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Drpc_rendezvous_mgr_test.cc94 core::ScopedUnref unref(rendez); in TEST_F()
114 core::ScopedUnref unref(rendez); in TEST_F()
128 core::ScopedUnref unref(rendez); in TEST_F()
149 core::ScopedUnref unref(rendez); in TEST_F()
178 core::ScopedUnref unref(rendez); in TEST_F()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Deager_service_impl.cc206 core::ScopedUnref context_unref(context); in Enqueue()
225 core::ScopedUnref context_unref(context); in WaitQueueDone()
239 core::ScopedUnref context_unref(context); in KeepAlive()
252 core::ScopedUnref context_unref(context); in CloseContext()
270 core::ScopedUnref context_unref(context); in RegisterFunction()
279 core::ScopedUnref context_unref(context); in SendTensor()
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dop_kernel_templates.h89 core::ScopedUnref unref_me(resource); in Compute()
138 core::ScopedUnref unref_me(alias_resource); in RegisterAlias()
224 core::ScopedUnref unref_me(table); in Compute()
275 core::ScopedUnref unref_me(alias_resource); in RegisterAlias()
314 core::ScopedUnref unref_me(table); in Compute()
395 core::ScopedUnref unref_me(table); in Compute()
428 core::ScopedUnref unref_me(container); in Compute()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dmodel_ops.cc76 core::ScopedUnref unref_me(ensemble_resource); in Compute()
95 core::ScopedUnref unref_me(ensemble_resource); in Compute()
119 core::ScopedUnref unref_me(ensemble_resource); in Compute()
154 core::ScopedUnref unref_me(ensemble_resource); in Compute()
Dstats_accumulator_ops.cc459 core::ScopedUnref unref_me(accumulator_resource); in Compute()
524 core::ScopedUnref unref_me(accumulator_resource); in Compute()
556 core::ScopedUnref unref_me(accumulator_resource); in Compute()
598 core::ScopedUnref unref_me(accumulator_resource); in Compute()
638 core::ScopedUnref unref_me(accumulator_resource); in Compute()
667 core::ScopedUnref unref_me(accumulator_resource); in Compute()
696 core::ScopedUnref unref_me(accumulator_resource); in Compute()
726 core::ScopedUnref unref_me(accumulator_resource); in Compute()
756 core::ScopedUnref unref_me(accumulator_resource); in Compute()
785 core::ScopedUnref unref_me(accumulator_resource); in Compute()
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/
Dstats_ops.cc94 core::ScopedUnref unref_me(fertile_stats_resource); in Compute()
123 core::ScopedUnref unref_me(fertile_stats_resource); in Compute()
263 core::ScopedUnref unref_stats(fertile_stats_resource); in Compute()
264 core::ScopedUnref unref_tree(tree_resource); in Compute()
374 core::ScopedUnref unref_stats(fertile_stats_resource); in Compute()
375 core::ScopedUnref unref_tree(tree_resource); in Compute()
476 core::ScopedUnref unref_me(tree_resource); in Compute()
477 core::ScopedUnref unref_stats(fertile_stats_resource); in Compute()
Dmodel_ops.cc83 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
108 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
138 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
189 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
290 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
343 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
391 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
/external/tensorflow/tensorflow/core/kernels/tensor_forest/
Dresource_ops.cc62 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
82 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
109 core::ScopedUnref unref_me(decision_tree_resource); in Compute()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dresource_ops.cc85 core::ScopedUnref unref_me(tree_ensemble_resource); in Compute()
148 core::ScopedUnref unref_me(tree_ensemble_resource); in Compute()
176 core::ScopedUnref unref_me(tree_ensemble_resource); in Compute()
/external/tensorflow/tensorflow/core/summary/
Dloader.cc80 core::ScopedUnref unref_db(db); in main()
89 core::ScopedUnref unref(db_writer); in main()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h348 core::ScopedUnref allocation_unref(allocation); in Compute()
434 core::ScopedUnref unref(output_allocation); in Compute()
479 core::ScopedUnref allocation_unref(allocation); in Compute()
535 core::ScopedUnref allocation_unref(allocation); in Compute()
577 core::ScopedUnref sub_unref(sub); in Compute()
630 core::ScopedUnref allocation_unref(allocation); in Compute()

1234