39 for (uint32_t r = 0; r < tensor_shape.
rank(); ++r)
51 os <<
"[TLBR " << pad.
top() <<
"," << pad.
left() <<
"," << pad.
bottom() <<
"," << pad.
right()
59std::ostream &
operator<<(std::ostream &os,
const std::vector<int64_t> &vi64)
75 auto node_summary_builder = std::make_unique<NodeSummaryBuilderFactory>();
76 return std::move(locop::fmt<locop::LinearV1>(g).with(std::move(node_summary_builder)));
uint32_t value(void) const
Return the value.
const Dimension & depth(void) const
const Dimension & height(void) const
const Dimension & width(void) const
const Dimension & count(void) const
const Dimension & count(void) const
const Dimension & depth(void) const
const Dimension & height(void) const
const Dimension & width(void) const
uint32_t left(void) const
uint32_t bottom(void) const
uint32_t right(void) const
const Dimension & dim(uint32_t axis) const
uint32_t rank(void) const
std::ostream & operator<<(std::ostream &os, const std::vector< int64_t > &vi64)
dump std::vector<int64_t> values to stream
FormattedGraph fmt(loco::Graph *g)
std::ostream & operator<<(std::ostream &os, const loco::FeatureShape &feature_shape)
dump FeatureShape values to stream