ONE - On-device Neural Engine
|
#include <Reader.h>
Public Member Functions | |
Reader (const std::string &filepath) | |
MinMaxVectors | read (int model_idx, int subg_idx, int op_idx) const |
Returns minmax recording for op {model_idx, subg_idx, op_idx}. | |
MinMaxVectors | read_input (int model_idx, int subg_idx, int input_idx) const |
Returns minmax recording for input {model_idx, subg_idx, input_idx}. | |
minmax_embedder::h5::Reader::Reader | ( | const std::string & | filepath | ) |
Definition at line 33 of file Reader.cpp.
MinMaxVectors minmax_embedder::h5::Reader::read | ( | int | model_idx, |
int | subg_idx, | ||
int | op_idx | ||
) | const |
Returns minmax recording for op {model_idx, subg_idx, op_idx}.
Definition at line 39 of file Reader.cpp.
References minmax_embedder::h5::MinMaxVectors::max_vector, and minmax_embedder::h5::MinMaxVectors::min_vector.
MinMaxVectors minmax_embedder::h5::Reader::read_input | ( | int | model_idx, |
int | subg_idx, | ||
int | input_idx | ||
) | const |
Returns minmax recording for input {model_idx, subg_idx, input_idx}.
Definition at line 65 of file Reader.cpp.
References minmax_embedder::h5::MinMaxVectors::max_vector, and minmax_embedder::h5::MinMaxVectors::min_vector.