/external/tensorflow/tensorflow/contrib/eager/python/ |
datasets.py | 27 class Iterator(iterator_ops.EagerIterator): 28 """An iterator producing tf.Tensor objects from a tf.data.Dataset. 30 NOTE: Unlike the iterator created by the 36 """Creates a new iterator over the given dataset. 41 for x in Iterator(dataset): 45 Tensors produced will be placed on the device on which this iterator object 66 super(Iterator, self).__init__(dataset) 75 return super(Iterator, self)._next_internal()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
examples_iterable.cc | 21 using Iterator = ExamplesIterable::Iterator; 61 Iterator::Iterator(ExamplesIterable* iter, int64 example_idx)
|
/external/perfetto/include/perfetto/trace_processor/ |
trace_processor.h | 37 // Iterator returning SQL rows satisfied by a query. 38 class Iterator { 40 Iterator(std::unique_ptr<IteratorImpl> iterator); 41 ~Iterator(); 43 Iterator(Iterator&) noexcept = delete; 44 Iterator& operator=(Iterator&) = delete; 46 Iterator(Iterator&&) noexcept [all...] |
/external/icu/icu4c/source/common/ |
ucharstrieiterator.cpp | 24 UCharsTrie::Iterator::Iterator(ConstChar16Ptr trieUChars, int32_t maxStringLength, 37 // Unlike UCharsTrie itself, its Iterator performs memory allocations anyway 46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, 77 UCharsTrie::Iterator::~Iterator() { 81 UCharsTrie::Iterator & 82 UCharsTrie::Iterator::reset() { 98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); [all...] |
bytestrieiterator.cpp | 25 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, 37 // Unlike BytesTrie itself, its Iterator performs memory allocations anyway 47 BytesTrie::Iterator::Iterator(const BytesTrie &trie, int32_t maxStringLength, 78 BytesTrie::Iterator::~Iterator() { 83 BytesTrie::Iterator & 84 BytesTrie::Iterator::reset() { 99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); [all...] |
/external/sfntly/cpp/src/sfntly/port/ |
java_iterator.h | 22 // Interface of Java iterator. 23 // This is a forward read-only iterator that represents java.util.Iterator<E> 28 class Iterator : public virtual RefCount { 30 virtual ~Iterator() {} 34 Iterator() {} 35 NO_COPY_AND_ASSIGN(Iterator); 40 class PODIterator : public Iterator<ReturnType, ContainerBase>, 67 class RefIterator : public Iterator<ReturnType, ContainerBase>,
|
/external/tensorflow/tensorflow/core/lib/io/ |
iterator.cc | 16 #include "tensorflow/core/lib/io/iterator.h" 21 Iterator::Iterator() { 26 Iterator::~Iterator() { 38 void Iterator::RegisterCleanup(CleanupFunction func, void* arg1, void* arg2) { 54 class EmptyIterator : public Iterator { 76 Iterator* NewEmptyIterator() { return new EmptyIterator(Status::OK()); } 78 Iterator* NewErrorIterator(const Status& status) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Dependency/ |
Dependency.c | 103 DEPENDENCY_EXPRESSION_OPERAND *Iterator;
107 Iterator = DependencyExpression;
113 switch (*(Iterator++)) {
134 StackPtr->Operator = (VOID *) Iterator;
135 Iterator = Iterator + sizeof (EFI_GUID);
142 if (*(Iterator - 1) == EFI_DEP_AND) {
169 // Iterator has increased by 1 after we retrieve the operand, so here we
170 // should get the value pointed by (Iterator - 1), in order to obtain the
173 if (*(Iterator - 1) == EFI_DEP_AND) { [all...] |
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
ignore_errors_dataset_op.cc | 48 return absl::make_unique<Iterator>( 49 Iterator::Params{this, strings::StrCat(prefix, "::IgnoreErrors")}); 76 class Iterator : public DatasetIterator<Dataset> { 78 explicit Iterator(const Params& params)
|
non_serializable_dataset_op.cc | 56 return absl::make_unique<Iterator>( 57 Iterator::Params{this, strings::StrCat(prefix, "::NonSerializable")}); 81 class Iterator : public DatasetIterator<Dataset> { 83 explicit Iterator(const Params& params)
|
assert_next_dataset_op.cc | 64 return absl::make_unique<Iterator>( 65 Iterator::Params{this, strings::StrCat(prefix, "::AssertNext")}); 95 class Iterator : public DatasetIterator<Dataset> { 97 explicit Iterator(const Params& params)
|
random_dataset_op.cc | 59 return absl::make_unique<Iterator>( 60 Iterator::Params{this, strings::StrCat(prefix, "::Random")}); 94 class Iterator : public DatasetIterator<Dataset> { 96 explicit Iterator(const Params& params)
|
/external/tensorflow/tensorflow/core/util/ |
cuda_device_functions.h | 43 struct Iterator { 44 __device__ Iterator(T index, T delta) : index_(index), delta_(delta) {} 46 __device__ Iterator& operator++() { 50 __device__ bool operator!=(const Iterator& other) const { 53 // Anything past an end iterator (delta_ == 0) is equal. 73 __device__ Iterator begin() const { return Iterator{begin_, delta_}; } 74 __device__ Iterator end() const { return Iterator{end_, 0}; }
|
/frameworks/av/include/drm/ |
DrmInfo.h | 52 * Iterator for key 76 * Iterator 78 class Iterator { 82 explicit Iterator(const DrmInfo* drmInfo) 86 Iterator(const Iterator& iterator); 87 Iterator& operator=(const Iterator& iterator); [all...] |
DrmMetadata.h | 33 * Iterator for key 55 * Iterator for constraints 57 class Iterator { 60 explicit Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} 63 Iterator(const Iterator& iterator); 64 Iterator& operator=(const Iterator& iterator); [all...] |
DrmConstraints.h | 68 * Iterator for key 91 * Iterator for constraints 93 class Iterator { 96 explicit Iterator(DrmConstraints* drmConstraints) 100 Iterator(const Iterator& iterator); 101 Iterator& operator=(const Iterator& iterator); [all...] |
DrmInfoRequest.h | 66 * Iterator for key 90 * Iterator 92 class Iterator { 96 explicit Iterator(const DrmInfoRequest* drmInfoRequest) 100 Iterator(const Iterator& iterator); 101 Iterator& operator=(const Iterator& iterator); [all...] |
/external/libchrome/base/ |
callback_list.h | 20 // the iterator. It safely handles the case of a callback removing itself or 78 typename std::list<CallbackType>::iterator iter) 95 typename std::list<CallbackType>::iterator iter_; 122 // An iterator class that can be used to access the list of callbacks. 123 class Iterator { 125 explicit Iterator(CallbackListBase<CallbackType>* list) 131 Iterator(const Iterator& iter) 137 ~Iterator() { 157 typename std::list<CallbackType>::iterator list_iter_ [all...] |
/development/vndk/tools/header-checker/src/repr/json/ |
ir_reader.h | 74 class Iterator { 76 Iterator(const Json::Value &json_value, bool &ok, int index) 79 Iterator &operator++() { 84 bool operator!=(const Iterator &other) const { 100 Iterator begin() const { return Iterator(array_, ok_, 0); } 102 Iterator end() const { return Iterator(array_, ok_, array_.size()); } 110 JsonObjectRef JsonArrayRef<JsonObjectRef>::Iterator::operator*() const; 112 template <> std::string JsonArrayRef<std::string>::Iterator::operator*() const [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Dispatcher/ |
Dependency.c | 174 UINT8 *Iterator;
176 Iterator = DriverEntry->Depex;
177 if (*Iterator == EFI_DEP_SOR) {
183 if (*Iterator == EFI_DEP_BEFORE) {
185 } else if (*Iterator == EFI_DEP_AFTER) {
190 CopyMem (&DriverEntry->BeforeAfterGuid, Iterator + 1, sizeof (EFI_GUID));
217 UINT8 *Iterator;
257 Iterator = DriverEntry->Depex;
264 if (((UINTN)Iterator - (UINTN)DriverEntry->Depex) >= DriverEntry->DepexSize) {
272 switch (*Iterator) {
[all...] |
/external/perfetto/src/trace_processor/ |
string_pool.h | 39 // Iterator over the strings in the pool. 40 class Iterator { 42 Iterator(const StringPool*); 45 Iterator& operator++(); 86 Iterator CreateIterator() const { return Iterator(this); } 127 friend class Iterator;
|
trace_processor.cc | 32 TraceProcessor::Iterator::Iterator(std::unique_ptr<IteratorImpl> iterator) 33 : iterator_(std::move(iterator)) {} 34 TraceProcessor::Iterator::~Iterator() = default; 36 TraceProcessor::Iterator::Iterator(TraceProcessor::Iterator&&) noexcept = 38 TraceProcessor::Iterator& TraceProcessor::Iterator::operator= [all...] |
/external/tensorflow/tensorflow/contrib/bigtable/kernels/ |
bigtable_prefix_key_dataset_op.cc | 55 new Iterator({this, strings::StrCat(prefix, "::BigtablePrefixKey")})); 84 class Iterator : public BigtableReaderDatasetIterator<Dataset> { 86 explicit Iterator(const Params& params)
|
bigtable_range_key_dataset_op.cc | 60 new Iterator({this, strings::StrCat(prefix, "::BigtableRangeKey")})); 89 class Iterator : public BigtableReaderDatasetIterator<Dataset> { 91 explicit Iterator(const Params& params)
|
bigtable_sample_keys_dataset_op.cc | 47 return std::unique_ptr<IteratorBase>(new Iterator( 77 class Iterator : public DatasetIterator<Dataset> { 79 explicit Iterator(const Params& params)
|