ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nnfw::misc::tensor::IndexFormatter Class Reference

Class to send Index object to output stream. More...

#include <IndexFormatter.h>

Public Member Functions

 IndexFormatter (const nnfw::misc::tensor::Index &index)
 Construct a new IndexFormatter object.
 
const nnfw::misc::tensor::Indexindex (void) const
 Get an Index object.
 

Detailed Description

Class to send Index object to output stream.

Definition at line 40 of file IndexFormatter.h.

Constructor & Destructor Documentation

◆ IndexFormatter()

nnfw::misc::tensor::IndexFormatter::IndexFormatter ( const nnfw::misc::tensor::Index index)
inline

Construct a new IndexFormatter object.

Parameters
[in]indexindex to be sent to output stream

Definition at line 47 of file IndexFormatter.h.

47 : _index(index)
48 {
49 // DO NOTHING
50 }
const nnfw::misc::tensor::Index & index(void) const
Get an Index object.

Member Function Documentation

◆ index()

const nnfw::misc::tensor::Index & nnfw::misc::tensor::IndexFormatter::index ( void  ) const
inline

Get an Index object.

Returns
Index object previously passed to the constructor

Definition at line 57 of file IndexFormatter.h.

57{ return _index; }

The documentation for this class was generated from the following file: