ONE - On-device Neural Engine
|
Functions | |
void | dump_model (std::ostream &os, const ModelEx &model) |
void | dump_buffer (std::ostream &os, const uint8_t *buffer, size_t size, size_t amount) |
void | dump_vector (std::ostream &os, const std::vector< int32_t > &vs) |
std::ostream & | operator<< (std::ostream &os, const std::vector< int32_t > &vect) |
template<typename T > | |
void | dump_fbvect (std::ostream &os, const flatbuffers::Vector< T > *fbvect, uint32_t size) |
template<> | |
void | dump_fbvect (std::ostream &os, const flatbuffers::Vector< uint8_t > *fbvect, uint32_t size) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &os, const flatbuffers::Vector< T > *fbvect) |
void | dump_sub_graph (std::ostream &os, tflread::Reader &reader) |
void | dump_model (std::ostream &os, const tflite::Model *model, const std::vector< char > *rawdata) |
void tfldump::dump_buffer | ( | std::ostream & | os, |
const uint8_t * | buffer, | ||
size_t | size, | ||
size_t | amount | ||
) |
Definition at line 31 of file Dump.cpp.
References size.
Referenced by dump_model().
void tfldump::dump_fbvect | ( | std::ostream & | os, |
const flatbuffers::Vector< T > * | fbvect, | ||
uint32_t | size | ||
) |
Definition at line 78 of file Dump.cpp.
References flatbuffers::Vector< T >::Get(), and size.
Referenced by operator<<().
void tfldump::dump_fbvect | ( | std::ostream & | os, |
const flatbuffers::Vector< uint8_t > * | fbvect, | ||
uint32_t | size | ||
) |
void tfldump::dump_model | ( | std::ostream & | os, |
const ModelEx & | model | ||
) |
Referenced by operator<<().
void tfldump::dump_model | ( | std::ostream & | os, |
const tflite::Model * | model, | ||
const std::vector< char > * | rawdata | ||
) |
Definition at line 343 of file Dump.cpp.
References tflread::Reader::buffer_info(), tflread::Reader::buffers(), dump_buffer(), dump_sub_graph(), tflread::Reader::metadata(), tflread::Reader::num_subgraph(), mio::tflite::opcode_name(), tflread::Reader::opcodes(), tflread::Reader::select_subgraph(), tflread::Reader::signaturedefs(), size, tflread::Reader::subgraph_name(), and tflread::Reader::version().
void tfldump::dump_sub_graph | ( | std::ostream & | os, |
tflread::Reader & | reader | ||
) |
Definition at line 124 of file Dump.cpp.
References tflread::as_index_vector(), tflread::Reader::builtin_code(), tfldump::OpPrinterRegistry::get(), tflread::Reader::inputs(), tflread::Reader::opcode_name(), tflread::Reader::operators(), tflread::Reader::outputs(), tflread::Reader::subgraph_index(), mio::tflite::tensor_name(), mio::tflite::tensor_type(), and tflread::Reader::tensors().
Referenced by dump_model().
void tfldump::dump_vector | ( | std::ostream & | os, |
const std::vector< int32_t > & | vs | ||
) |
Definition at line 59 of file Dump.cpp.
Referenced by operator<<().
std::ostream & tfldump::operator<< | ( | std::ostream & | os, |
const flatbuffers::Vector< T > * | fbvect | ||
) |
Definition at line 101 of file Dump.cpp.
References dump_fbvect(), and flatbuffers::Vector< T >::size().
std::ostream & tfldump::operator<< | ( | std::ostream & | os, |
const std::vector< int32_t > & | vect | ||
) |
Definition at line 71 of file Dump.cpp.
References dump_vector().