ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Dump.cpp File Reference
#include <circledump/Dump.h>
#include <mio_circle/Helper.h>
#include <mio_circle/Reader.h>
#include "OpPrinter.h"
#include "MetadataPrinter.h"
#include <ostream>
#include <algorithm>
#include <iomanip>

Go to the source code of this file.

Namespaces

namespace  circledump
 

Functions

void circledump::dump_buffer (std::ostream &os, const uint8_t *buffer, size_t size, size_t amount)
 
void circledump::dump_vector (std::ostream &os, const std::vector< int32_t > &vs)
 
std::ostream & circledump::operator<< (std::ostream &os, const std::vector< int32_t > &vect)
 
template<typename T >
void circledump::dump_fbvect (std::ostream &os, const flatbuffers::Vector< T > *fbvect, uint32_t size)
 
template<>
void circledump::dump_fbvect (std::ostream &os, const flatbuffers::Vector< uint8_t > *fbvect, uint32_t size)
 
template<typename T >
std::ostream & circledump::operator<< (std::ostream &os, const flatbuffers::Vector< T > *fbvect)
 
void circledump::dump_sub_graph (std::ostream &os, mio::circle::Reader &reader)
 
void circledump::dump_model (std::ostream &os, const circle::Model *model, const std::vector< char > *rawdata)
 
std::ostream & operator<< (std::ostream &os, const circledump::ModelEx &modelex)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const circledump::ModelEx modelex 
)

Definition at line 467 of file Dump.cpp.

468{
469 circledump::dump_model(os, modelex.model, modelex.rawdata);
470 return os;
471}
void dump_model(std::ostream &os, const circledump::ModelEx &model)
const circle::Model * model
Definition Dump.h:29
const std::vector< char > * rawdata
Definition Dump.h:30

References circledump::dump_model(), circledump::ModelEx::model, and circledump::ModelEx::rawdata.