File IBufferAttributes.hpp¶
↰ Parent directory (DlSystem)
Contents
Definition (DlSystem/IBufferAttributes.hpp)¶
Includes¶
DlSystem/IBufferAttributes.h(File IBufferAttributes.hpp)IUserBuffer.hpp(File IUserBuffer.hpp)TensorShape.hpp(File TensorShape.hpp)cstddef
Included By¶
Namespaces¶
Classes¶
Full File Listing¶
-
namespace DlSystem
-
class IBufferAttributes¶
- #include <IBufferAttributes.hpp>
Public Functions
-
size_t getElementSize() const noexcept¶
-
UserBufferEncoding::ElementType_t getEncodingType() const noexcept¶
Gets the element’s encoding type.
- Returns
encoding type
-
TensorShape getDims() const¶
Gets the number of elements in each dimension.
- Returns
Dimension size, in terms of number of elements
-
TensorShape getAlignments() const¶
Gets the alignment requirement of each dimension.
Alignment per each dimension is expressed as an multiple, for example, if one particular dimension can accept multiples of 8, the alignment will be 8.
- Returns
Alignment in each dimension, in terms of multiple of number of elements
-
UserBufferEncoding *getEncoding() const¶
Gets the buffer encoding returned from the network responsible for generating this buffer. Depending on the encoding type, this will be an instance of an encoding type specific derived class.
- Returns
Derived user buffer encoding object.
-
size_t getElementSize() const noexcept¶
-
class IBufferAttributes¶