Interface describing methods to update access window and padding based on kernel parameters.
More...
#include <IAccessWindow.h>
Interface describing methods to update access window and padding based on kernel parameters.
Definition at line 71 of file IAccessWindow.h.
◆ ~IAccessWindow()
Default virtual destructor.
◆ compute_valid_region()
Compute the valid region based on access pattern and valid region of the inputs.
- Note
- This method assumes that there is no border.
- Parameters
-
[in] | window | Execution window of the kernel. |
[in] | input_valid_region | Combined valid region of all inputs. |
[in] | border_undefined | Undefined borders are excluded from the valid region. |
[in] | border_size | Size of the border around the XY-plane of the tensor. |
- Returns
- a valid region.
Implemented in AccessWindowRectangle, AccessWindowStatic, AccessWindowAutoPadding, and AccessWindowTranspose.
◆ update_padding_if_needed()
virtual bool update_padding_if_needed |
( |
const Window & |
window | ) |
|
|
pure virtual |
◆ update_window_if_needed()
virtual bool update_window_if_needed |
( |
Window & |
window | ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: