Home
last modified time | relevance | path

Searched refs:PersistentTensor (Results 1 – 25 of 35) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dtensor_array.h188 PersistentTensor* value) { in WriteOrAggregate()
196 std::vector<PersistentTensor>* values) { in WriteOrAggregateMany()
224 PersistentTensor* value) { in Read()
231 std::vector<PersistentTensor>* values) { in ReadMany()
354 PersistentTensor* value) TF_EXCLUSIVE_LOCKS_REQUIRED(mu_);
358 PersistentTensor* value)
363 PersistentTensor* value) TF_EXCLUSIVE_LOCKS_REQUIRED(mu_);
422 PersistentTensor tensor;
444 PersistentTensor* value) { in LockedWriteOrAggregate()
523 PersistentTensor local_tensor; in LockedWriteOrAggregate()
[all …]
Dtyped_queue.h83 int64 SizeOf(const std::deque<PersistentTensor>& sq) { in SizeOf()
91 int64 SizeOf(const std::vector<PersistentTensor>& sq) { in SizeOf()
98 using TensorPair = std::pair<int64, PersistentTensor>;
Dfifo_queue.h34 class FIFOQueue : public TypedQueue<std::deque<PersistentTensor> > {
67 PersistentTensor* out_element);
Dpriority_queue.h34 using PriorityTensorPair = std::pair<int64, PersistentTensor>;
86 PersistentTensor* out_element);
Dpriority_queue.cc66 PersistentTensor persistent_tensor = gtl::ConsumeTop(&queues_[i]).second; in DequeueLocked()
99 queues_[i].emplace(priority, PersistentTensor(tuple[i])); in TryEnqueue()
119 OpKernelContext* ctx, PersistentTensor* out_tensor) { in GetElementComponentFromBatch()
161 PersistentTensor priority_element; in TryEnqueueMany()
175 PersistentTensor element; in TryEnqueueMany()
Drandom_shuffle_queue_op.cc42 class RandomShuffleQueue : public TypedQueue<std::vector<PersistentTensor> > {
77 PersistentTensor* out_tensor);
148 queues_[i].push_back(PersistentTensor(tuple[i])); in TryEnqueue()
168 PersistentTensor* out_tensor) { in GetElementComponentFromBatch()
210 PersistentTensor element; in TryEnqueueMany()
350 PersistentTensor element; in TryDequeueMany()
Dbarrier_ops.cc342 PersistentTensor index_persistent_tensor; in InsertOneLocked()
356 element.push_back(PersistentTensor(uninitialized)); in InsertOneLocked()
359 const PersistentTensor& component = element[1 + component_index]; in InsertOneLocked()
368 PersistentTensor next_element; in InsertOneLocked()
389 PersistentTensor key; in InsertOneLocked()
426 typedef std::vector<PersistentTensor> PersistentTuple;
Dfifo_queue.cc70 queues_[i].push_back(PersistentTensor(tuple[i])); in TryEnqueue()
91 PersistentTensor* out_tensor) { in GetElementComponentFromBatch()
132 PersistentTensor element; in TryEnqueueMany()
272 PersistentTensor element; in TryDequeueMany()
Dsparse_conditional_accumulator.h60 accum_val_persistent_ = new PersistentTensor(); in SparseConditionalAccumulator()
75 PersistentTensor* accum_val_persistent_ = nullptr;
256 PersistentTensor* tensor_sum_persistent = new PersistentTensor(); in AddToAccumGradFunction()
Dpadding_fifo_queue.h79 PersistentTensor* out_tensor);
Dsparse_tensors_map_ops.cc49 PersistentTensor indices;
50 PersistentTensor values;
56 PersistentTensor persistent_ix; in AddSparseTensor()
62 PersistentTensor persistent_values; in AddSparseTensor()
Dlookup_table_op.cc366 empty_key_ = PersistentTensor(*empty_key_input); in MutableDenseHashTable()
378 deleted_key_ = PersistentTensor(*deleted_key_input); in MutableDenseHashTable()
517 key_buckets_ = PersistentTensor(keys); in ImportValues()
518 value_buckets_ = PersistentTensor(values); in ImportValues()
793 PersistentTensor key_buckets_ TF_GUARDED_BY(mu_);
794 PersistentTensor value_buckets_ TF_GUARDED_BY(mu_);
795 PersistentTensor empty_key_;
797 PersistentTensor deleted_key_;
Dtensor_array_ops.cc441 PersistentTensor persistent_tensor(*tensor_value); in Compute()
523 PersistentTensor value; in Compute()
615 std::vector<PersistentTensor> values; in Compute()
860 std::vector<PersistentTensor> values; in Compute()
1120 std::vector<PersistentTensor> write_values; in Compute()
1125 PersistentTensor persistent_tensor; in Compute()
1305 std::vector<PersistentTensor> write_values; in Compute()
1310 PersistentTensor persistent_tensor; in Compute()
Dqueue_ops.cc94 PersistentTensor handle_;
Dtraining_op_helpers.h44 PersistentTensor unused; in EnsureSparseVariableAccess()
203 PersistentTensor unused; in PrepareToUpdateVariable()
Dassign_op.h113 PersistentTensor copy; in Compute()
Dconditional_accumulator.h65 PersistentTensor accum_grad_persistent_;
Dcount_up_to_op.cc86 PersistentTensor unused; in Compute()
Ddense_update_functor.cc86 PersistentTensor tmp; \
Dpadding_fifo_queue.cc60 PersistentTensor* out_tensor) { in GetElementComponent()
110 PersistentTensor element; in TryDequeueMany()
/external/tensorflow/tensorflow/core/kernels/sparse/
Dzeros_op.h70 PersistentTensor csr_row_ptr_pt; in operator()
/external/tensorflow/tensorflow/core/framework/
Dresource_op_kernel.h133 PersistentTensor handle_ TF_GUARDED_BY(mu_);
Dop_kernel.h235 class PersistentTensor {
237 PersistentTensor() {} in PersistentTensor() function
238 explicit PersistentTensor(const Tensor& tensor) : tensor_(tensor) {} in PersistentTensor() function
300 PersistentTensor* out_persistent,
1033 PersistentTensor* out_persistent,
1036 PersistentTensor* out_persistent, in allocate_persistent()
Dop_kernel.cc216 Tensor* PersistentTensor::AccessTensor(OpKernelConstruction* context) { in AccessTensor()
222 Tensor* PersistentTensor::AccessTensor(OpKernelContext* context) { in AccessTensor()
305 DataType type, const TensorShape& shape, PersistentTensor* out_persistent, in allocate_persistent()
312 *out_persistent = PersistentTensor(persistent); in allocate_persistent()
815 PersistentTensor* out_persistent, in allocate_persistent()
830 *out_persistent = PersistentTensor(persistent); in allocate_persistent()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_lru_cache.h174 std::vector<PersistentTensor> device_tensors_;

12