ONE - On-device Neural Engine
|
Functions | |
void | dump_model (std::ostream &os, const circledump::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, mio::circle::Reader &reader) |
void | dump_model (std::ostream &os, const circle::Model *model, const std::vector< char > *rawdata) |
void circledump::dump_buffer | ( | std::ostream & | os, |
const uint8_t * | buffer, | ||
size_t | size, | ||
size_t | amount | ||
) |
Definition at line 32 of file Dump.cpp.
References size.
Referenced by dump_model().
void circledump::dump_fbvect | ( | std::ostream & | os, |
const flatbuffers::Vector< T > * | fbvect, | ||
uint32_t | size | ||
) |
Definition at line 79 of file Dump.cpp.
References flatbuffers::Vector< T >::Get(), and size.
Referenced by operator<<().
void circledump::dump_fbvect | ( | std::ostream & | os, |
const flatbuffers::Vector< uint8_t > * | fbvect, | ||
uint32_t | size | ||
) |
void circledump::dump_model | ( | std::ostream & | os, |
const circle::Model * | model, | ||
const std::vector< char > * | rawdata | ||
) |
Definition at line 344 of file Dump.cpp.
References mio::circle::Reader::buffer_info(), mio::circle::Reader::buffers(), dump_buffer(), dump_sub_graph(), circledump::MetadataPrinterRegistry::get(), mio::circle::Reader::metadata(), mio::circle::Reader::num_subgraph(), mio::circle::opcode_name(), mio::circle::Reader::opcodes(), mio::circle::Reader::select_subgraph(), mio::circle::Reader::signature_defs(), size, mio::circle::Reader::subgraph_name(), and mio::circle::Reader::version().
void circledump::dump_model | ( | std::ostream & | os, |
const circledump::ModelEx & | model | ||
) |
Referenced by operator<<().
void circledump::dump_sub_graph | ( | std::ostream & | os, |
mio::circle::Reader & | reader | ||
) |
Definition at line 125 of file Dump.cpp.
References mio::circle::as_index_vector(), mio::circle::Reader::builtin_code(), circledump::OpPrinterRegistry::get(), mio::circle::Reader::inputs(), mio::circle::Reader::opcode_name(), mio::circle::Reader::operators(), mio::circle::Reader::outputs(), mio::circle::Reader::subgraph_index(), mio::circle::tensor_name(), mio::circle::tensor_type(), and mio::circle::Reader::tensors().
Referenced by dump_model().
void circledump::dump_vector | ( | std::ostream & | os, |
const std::vector< int32_t > & | vs | ||
) |
Definition at line 60 of file Dump.cpp.
Referenced by operator<<().
std::ostream & circledump::operator<< | ( | std::ostream & | os, |
const flatbuffers::Vector< T > * | fbvect | ||
) |
Definition at line 102 of file Dump.cpp.
References dump_fbvect(), and flatbuffers::Vector< T >::size().
std::ostream & circledump::operator<< | ( | std::ostream & | os, |
const std::vector< int32_t > & | vect | ||
) |
Definition at line 72 of file Dump.cpp.
References dump_vector().