IntelĀ® Machine Learning Scaling Library  2018
A library providing an efficient implementation of communication patterns used in deep learning.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
MLSL::CommBlockInfo Class Reference

A class to hold block information for activations packing/unpacking. More...

#include <mlsl.hpp>

Public Member Functions

size_t GetMbOffset ()
 
size_t GetMbCount ()
 
size_t GetFmOffset ()
 
size_t GetFmCount ()
 
size_t GetFmSize ()
 
DataType GetDataType ()
 
size_t GetBufOffset ()
 

Detailed Description

A class to hold block information for activations packing/unpacking.

Holds information about Activation partitioning and is used for packing/upacking to/from the communication buffer.

Member Function Documentation

size_t MLSL::CommBlockInfo::GetBufOffset ( )
Returns
The offset in MLSL::DataType elements within the communication buffer where to pack to/unpack from.
DataType MLSL::CommBlockInfo::GetDataType ( )
Returns
The datatype of the feature map elements.
size_t MLSL::CommBlockInfo::GetFmCount ( )
Returns
The length of the feature map portion.
size_t MLSL::CommBlockInfo::GetFmOffset ( )
Returns
The offset of the feature map portion.
size_t MLSL::CommBlockInfo::GetFmSize ( )
Returns
The size of a feature map in MLSL::DataType elements.
size_t MLSL::CommBlockInfo::GetMbCount ( )
Returns
The length of the mini-batch portion.
size_t MLSL::CommBlockInfo::GetMbOffset ( )
Returns
The offset of the mini-batch portion.

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