ArmNN
 24.02
DotDefaults Class Reference

#include <DotSerializer.hpp>

Inheritance diagram for DotDefaults:
[legend]
Collaboration diagram for DotDefaults:
[legend]

Public Member Functions

 DotDefaults (std::ostream &stream, const char *type)
 
 ~DotDefaults ()
 
DotAttributeSetGetAttributeSet ()
 
- Public Member Functions inherited from DotBase
 DotBase (std::ostream &stream)
 
std::ostream & GetStream ()
 

Detailed Description

Definition at line 114 of file DotSerializer.hpp.

Constructor & Destructor Documentation

◆ DotDefaults()

DotDefaults ( std::ostream &  stream,
const char *  type 
)
explicit

Definition at line 208 of file DotSerializer.cpp.

209  : DotBase(stream)
210 {
211  std::stringstream ss;
212  ss << Indent(4) << type;
213 
214  GetStream() << ss.str() << " ";
215  m_Attributes = std::make_unique<DotAttributeSet>(stream);
216 }

References DotBase::GetStream().

◆ ~DotDefaults()

Definition at line 218 of file DotSerializer.cpp.

219 {
220  m_Attributes.reset(nullptr);
221  GetStream() << ";" << std::endl;
222 }

References DotBase::GetStream().

Member Function Documentation

◆ GetAttributeSet()

DotAttributeSet& GetAttributeSet ( )
inline

Definition at line 120 of file DotSerializer.hpp.

120 { return *m_Attributes.get(); }

Referenced by Graph::SerializeToDot().


The documentation for this class was generated from the following files:
armnn::DotBase::GetStream
std::ostream & GetStream()
Definition: DotSerializer.hpp:23
armnn::DotBase::DotBase
DotBase(std::ostream &stream)
Definition: DotSerializer.hpp:20