This class helps calculating offset in different layouts.
More...
#include <ie_layouts.h>
This class helps calculating offset in different layouts.
- Deprecated:
- Uses TensorDesc working with layouts
§ LayoutOffsetCounter()
InferenceEngine::LayoutOffsetCounter::LayoutOffsetCounter |
( |
Layout |
layout, |
|
|
SizeVector |
dims |
|
) |
|
|
A default constructor.
- Parameters
-
dims |
Tensor dimension array (reverse NCHW order as in the IR: w,h,c,n) |
§ Offset()
size_t InferenceEngine::LayoutOffsetCounter::Offset |
( |
SizeVector |
pos |
) |
|
Calculates an offset for the specified layout.
- Parameters
-
pos |
Tensor position array (reverse NCHW order as in the IR: w,h,c,n) |
§ operator=()
A copy assignment operator.
- Parameters
-
The documentation for this class was generated from the following file: