|
ONE - On-device Neural Engine
|
Struct to have information after comparing two elements of two tensors. More...
#include <Diff.h>

Public Member Functions | |
| Diff (const Index &i) | |
Construct a new Diff object. | |
| Diff (const Index &i, const T &e, const T &o) | |
Construct a new Diff object. | |
Data Fields | |
| Index | index |
| T | expected |
| T | obtained |
Struct to have information after comparing two elements of two tensors.
|
inline |
|
inline |
| T nnfw::misc::tensor::Diff< T >::expected |
| Index nnfw::misc::tensor::Diff< T >::index |
Index of elements in two tensors, which turn out to be different
Definition at line 40 of file Diff.h.
Referenced by onert.experimental.train.dataloader.DataLoader::__next__().
| T nnfw::misc::tensor::Diff< T >::obtained |