MCPcopy Create free account
hub / github.com/ARM-software/armnn / DotNode

Method DotNode

src/armnnUtils/DotSerializer.cpp:179–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179DotNode::DotNode(std::ostream& stream, LayerGuid nodeId, const char* label)
180 : DotBase(stream)
181{
182 std::stringstream ss;
183 ss << Indent(4) << nodeId;
184
185 GetStream() << ss.str() << " ";
186
187 m_Contents = std::make_unique<NodeContent>(stream);
188 m_Attributes = std::make_unique<DotAttributeSet>(stream);
189
190 if (std::strlen(label) != 0)
191 {
192 m_Contents->SetName(label);
193 }
194 else
195 {
196 m_Contents->SetName("<noname>");
197 }
198}
199
200DotNode::~DotNode()
201{

Callers

nothing calls this directly

Calls 3

IndentFunction · 0.85
SetNameMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected