Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/kernels/
Dtensor_array.h190 PersistentTensor* value) { in WriteOrAggregate()
198 std::vector<PersistentTensor>* values) { in WriteOrAggregateMany()
226 PersistentTensor* value) { in Read()
233 std::vector<PersistentTensor>* values) { in ReadMany()
355 PersistentTensor* value) EXCLUSIVE_LOCKS_REQUIRED(mu_);
359 PersistentTensor* value)
364 PersistentTensor* value) EXCLUSIVE_LOCKS_REQUIRED(mu_);
423 PersistentTensor tensor;
445 PersistentTensor* value) { in LockedWriteOrAggregate()
524 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);
Drandom_shuffle_queue_op.cc42 class RandomShuffleQueue : public TypedQueue<std::vector<PersistentTensor> > {
77 PersistentTensor* out_tensor);
147 queues_[i].push_back(PersistentTensor(tuple[i])); in TryEnqueue()
167 PersistentTensor* out_tensor) { in GetElementComponentFromBatch()
209 PersistentTensor element; in TryEnqueueMany()
349 PersistentTensor element; in TryDequeueMany()
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()
160 PersistentTensor priority_element; in TryEnqueueMany()
174 PersistentTensor element; in TryEnqueueMany()
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()
Dlookup_table_op.cc344 empty_key_ = PersistentTensor(*empty_key_input); in MutableDenseHashTable()
356 deleted_key_ = PersistentTensor(*deleted_key_input); in MutableDenseHashTable()
495 key_buckets_ = PersistentTensor(keys); in ImportValues()
496 value_buckets_ = PersistentTensor(values); in ImportValues()
771 PersistentTensor key_buckets_ GUARDED_BY(mu_);
772 PersistentTensor value_buckets_ GUARDED_BY(mu_);
773 PersistentTensor empty_key_;
775 PersistentTensor deleted_key_;
Dsparse_tensors_map_ops.cc49 PersistentTensor indices;
50 PersistentTensor values;
56 PersistentTensor persistent_ix; in AddSparseTensor()
62 PersistentTensor persistent_values; in AddSparseTensor()
Dtensor_array_ops.cc444 PersistentTensor persistent_tensor(*tensor_value); in Compute()
527 PersistentTensor value; in Compute()
620 std::vector<PersistentTensor> values; in Compute()
866 std::vector<PersistentTensor> values; in Compute()
1127 std::vector<PersistentTensor> write_values; in Compute()
1132 PersistentTensor persistent_tensor; in Compute()
1313 std::vector<PersistentTensor> write_values; in Compute()
1318 PersistentTensor persistent_tensor; in Compute()
Dpadding_fifo_queue.h79 PersistentTensor* out_tensor);
Dtraining_op_helpers.h43 PersistentTensor unused; in EnsureSparseVariableAccess()
204 PersistentTensor unused; in PrepareToUpdateVariable()
Dqueue_ops.cc76 PersistentTensor handle_;
Dassign_op.h113 PersistentTensor copy; in Compute()
Dcount_up_to_op.cc87 PersistentTensor unused; in Compute()
Dconditional_accumulator.h65 PersistentTensor accum_grad_persistent_;
Ddense_update_functor.cc86 PersistentTensor tmp; \
Dpadding_fifo_queue.cc60 PersistentTensor* out_tensor) { in GetElementComponent()
110 PersistentTensor element; in TryDequeueMany()
/external/tensorflow/tensorflow/contrib/framework/kernels/
Dzero_initializer_op.cc49 PersistentTensor out_persistent; in Compute()
103 PersistentTensor unused; in Compute()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_resources.h57 std::vector<PersistentTensor> device_tensors_;
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h242 class PersistentTensor {
244 PersistentTensor() {} in PersistentTensor() function
245 explicit PersistentTensor(const Tensor& tensor) : tensor_(tensor) {} in PersistentTensor() function
306 PersistentTensor* out_persistent,
989 PersistentTensor* out_persistent,
992 PersistentTensor* out_persistent, in allocate_persistent()
1255 friend class PersistentTensor; variable
Dresource_op_kernel.h132 PersistentTensor handle_ GUARDED_BY(mu_);
Dop_kernel.cc188 Tensor* PersistentTensor::AccessTensor(OpKernelConstruction* context) { in AccessTensor()
194 Tensor* PersistentTensor::AccessTensor(OpKernelContext* context) { in AccessTensor()
255 DataType type, const TensorShape& shape, PersistentTensor* out_persistent, in allocate_persistent()
264 *out_persistent = PersistentTensor(persistent); in allocate_persistent()
760 PersistentTensor* out_persistent, in allocate_persistent()
766 *out_persistent = PersistentTensor(persistent); in allocate_persistent()

12