Compute Library
 21.08
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 ( )
virtualdefault

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.

Parameters
[in]tensorTensor to be accessed
Returns
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: