ONE - On-device Neural Engine
|
Class that is index of DisposableTensor. More...
#include <DisposableTensorIndex.h>
Public Member Functions | |
DisposableTensorIndex (const ir::OperationIndex &op_index, const ir::OperandIndex &operand_index) | |
Construct DisposableTensorIndex object. | |
const ir::OperationIndex & | op_index () const |
Get Operation index. | |
const ir::OperandIndex & | operand_index () const |
Get operand index. | |
bool | operator== (const DisposableTensorIndex &other) const |
operator overloading function for == | |
bool | operator!= (const DisposableTensorIndex &other) const |
operator overloading function for != | |
Class that is index of DisposableTensor.
Definition at line 36 of file DisposableTensorIndex.h.
|
inline |
Construct DisposableTensorIndex object.
op_index | The operation index |
operand_index | The operand index |
Definition at line 44 of file DisposableTensorIndex.h.
References op_index(), operand_index(), onert::util::Index< T, DummyTag >::valid(), and onert::util::Index< T, DummyTag >::value().
|
inline |
Get Operation index.
Definition at line 61 of file DisposableTensorIndex.h.
Referenced by DisposableTensorIndex(), and operator==().
|
inline |
Get operand index.
Definition at line 67 of file DisposableTensorIndex.h.
Referenced by DisposableTensorIndex(), onert::backend::train::operator<<(), and operator==().
|
inline |
operator overloading function for !=
Definition at line 84 of file DisposableTensorIndex.h.
|
inline |
operator overloading function for ==
Definition at line 75 of file DisposableTensorIndex.h.
References op_index(), and operand_index().