|
MLIR 22.0.0git
|
Iterator over the integer elements of a dense array. More...
#include "mlir/Bindings/Python/IRAttributes.h"
Public Member Functions | |
| PyDenseArrayIterator (PyAttribute attr) | |
| PyDenseArrayIterator | dunderIter () |
| Return a copy of the iterator. | |
| EltTy | dunderNext () |
| Return the next element. | |
Static Public Member Functions | |
| static void | bind (nanobind::module_ &m) |
| Bind the iterator class. | |
Iterator over the integer elements of a dense array.
Definition at line 124 of file IRAttributes.h.
|
inline |
Definition at line 126 of file IRAttributes.h.
Referenced by dunderIter().
|
inlinestatic |
Bind the iterator class.
Definition at line 140 of file IRAttributes.h.
References dunderIter(), and dunderNext().
|
inline |
Return a copy of the iterator.
Definition at line 129 of file IRAttributes.h.
References PyDenseArrayIterator().
Referenced by bind().
|
inline |
Return the next element.
Definition at line 132 of file IRAttributes.h.
References mlirDenseArrayGetNumElements().
Referenced by bind().