ONE - On-device Neural Engine
Loading...
Searching...
No Matches
LogHelper.h File Reference
#include <locop/FormattedGraph.h>
#include <loco/IR/FeatureShape.h>
#include <loco/IR/FilterShape.h>
#include <loco/IR/TensorShape.h>
#include <sstream>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  loco
 
namespace  exo
 

Typedefs

using exo::FormattedGraph = locop::FormattedGraphImpl< locop::Formatter::LinearV1 >
 

Functions

std::ostream & loco::operator<< (std::ostream &os, const loco::FeatureShape &feature_shape)
 dump FeatureShape values to stream
 
std::ostream & loco::operator<< (std::ostream &os, const loco::FilterShape &filter_shape)
 dump FilterShape values to stream
 
std::ostream & loco::operator<< (std::ostream &os, const loco::TensorShape &tensor_shape)
 dump TensorShape values to stream
 
std::ostream & loco::operator<< (std::ostream &os, const loco::Padding2D &pad)
 dump Padding2D values to stream
 
std::ostream & operator<< (std::ostream &os, const std::vector< int64_t > &vi64)
 dump std::vector<int64_t> values to stream
 
FormattedGraph exo::fmt (loco::Graph *g)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const std::vector< int64_t > &  vi64 
)

dump std::vector<int64_t> values to stream

Definition at line 59 of file LogHelper.cpp.

60{
61 for (auto vi : vi64)
62 {
63 os << vi << " ";
64 }
65 return os;
66}