ONE - On-device Neural Engine
Loading...
Searching...
No Matches
Dump.cpp File Reference
#include <tfldump/Dump.h>
#include <mio_tflite2121/Helper.h>
#include "Read.h"
#include "OpPrinter.h"
#include <ostream>
#include <algorithm>
#include <iomanip>

Go to the source code of this file.

Namespaces

namespace  tfldump
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 457 of file Dump.cpp.

458{
459 tfldump::dump_model(os, modelex.model, modelex.rawdata);
460 return os;
461}
void dump_model(std::ostream &os, const ModelEx &model)
const std::vector< char > * rawdata
Definition Dump.h:30
const tflite::Model * model
Definition Dump.h:29

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