Compute Library
ITensorAccessor Class Referenceabstract

Tensor accessor interface. More...

#include <ITensorAccessor.h>

Public Member Functions

virtual ~ITensorAccessor ()=default
 Default virtual destructor. More...
virtual bool access_tensor (ITensor &tensor)=0
 Interface to be implemented to access a given tensor. More...

Detailed Description

Tensor accessor interface.

Definition at line 36 of file ITensorAccessor.h.

Constructor & Destructor Documentation

◆ ~ITensorAccessor()

virtual ~ITensorAccessor ( )

Default virtual destructor.

Member Function Documentation

◆ access_tensor()

virtual bool access_tensor ( ITensor tensor)
pure virtual

Interface to be implemented to access a given tensor.

[in]tensorTensor to be accessed
True if access is successful else false

Implemented in NumPyBinLoader, RandomAccessor, TopNPredictionsAccessor, DetectionOutputAccessor, VerifyAccessor< D >, ValidationOutputAccessor, ValidationInputAccessor, ImageAccessor, PrintAccessor, SaveNumPyAccessor, NumPyAccessor, DummyAccessor, and PPMWriter.

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