ONE - On-device Neural Engine
Loading...
Searching...
No Matches
IndexIterator.h File Reference

This file contains nnfw::misc::tensor::IndexIterator class and helper function and operator. More...

Go to the source code of this file.

Data Structures

class  nnfw::misc::tensor::IndexIterator
 Class to iterate indexes available for given shape. More...
 

Namespaces

namespace  nnfw
 
namespace  nnfw::misc
 
namespace  nnfw::misc::tensor
 

Functions

IndexIterator nnfw::misc::tensor::iterate (const Shape &shape)
 Get an IndexItator object.
 
template<typename Callable >
IndexIteratornnfw::misc::tensor::operator<< (IndexIterator &&it, Callable cb)
 Iterate all indexes and apply a function.
 

Detailed Description

This file contains nnfw::misc::tensor::IndexIterator class and helper function and operator.

Definition in file IndexIterator.h.