Compute Library
18.05
|
Implementation of a row access pattern. More...
#include <IAccessWindow.h>
Public Member Functions | |
AccessWindowHorizontal (ITensorInfo *info, int x, int width, float scale_x=1.f) | |
Constructor for a row access pattern. More... | |
Public Member Functions inherited from AccessWindowRectangle | |
AccessWindowRectangle (ITensorInfo *info, int x, int y, int width, int height) | |
Constructor for a rectangular access pattern. More... | |
AccessWindowRectangle (ITensorInfo *info, int x, int y, int width, int height, float scale_x, float scale_y) | |
Constructor for a rectangular access pattern. More... | |
AccessWindowRectangle (const AccessWindowRectangle &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
AccessWindowRectangle (AccessWindowRectangle &&)=default | |
Allow instances of this class to be move constructed. More... | |
AccessWindowRectangle & | operator= (const AccessWindowRectangle &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
AccessWindowRectangle & | operator= (AccessWindowRectangle &&)=default |
Allow instances of this class to be moved. More... | |
~AccessWindowRectangle ()=default | |
Default destructor. More... | |
void | set_valid_region (const Window &window, const ValidRegion &input_valid_region, bool border_undefined=false, const BorderSize &border_size=BorderSize(0)) |
Set the valid region based on access pattern, valid region of the inputs and border mode. More... | |
ValidRegion | compute_valid_region (const Window &window, const ValidRegion &input_valid_region) const |
Compute the valid region based on access pattern, valid region of the inputs and border mode. More... | |
ValidRegion | compute_valid_region (const Window &window, ValidRegion input_valid_region, bool border_undefined, BorderSize border_size) const override |
Compute the valid region based on access pattern and valid region of the inputs. More... | |
bool | update_window_if_needed (Window &window) const override |
Shrink the window if padding is not large enough. More... | |
bool | update_padding_if_needed (const Window &window) override |
Increase the padding to be large enough for the window. More... | |
Public Member Functions inherited from IAccessWindow | |
virtual | ~IAccessWindow ()=default |
Default virtual destructor. More... | |
Implementation of a row access pattern.
Definition at line 229 of file IAccessWindow.h.
|
inline |
Constructor for a row access pattern.
[in,out] | info | Tensor info of the accessed kernel. |
[in] | x | Offset of the access in X direction. |
[in] | width | Number of elements that are accessed in X direction. |
[in] | scale_x | Ratio along the X direction between the window used by the execute_window_loop and the rectangular access pattern defined |
Definition at line 241 of file IAccessWindow.h.
References ARM_COMPUTE_ERROR_ON.