MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / AccessWindowHorizontal

Class AccessWindowHorizontal

arm_compute/core/IAccessWindow.h:245–263  ·  view source on GitHub ↗

Implementation of a row access pattern. */

Source from the content-addressed store, hash-verified

243
244/** Implementation of a row access pattern. */
245class AccessWindowHorizontal : public AccessWindowRectangle
246{
247public:
248 /** Constructor for a row access pattern.
249 *
250 * @note Width has to be non-negative.
251 *
252 * @param[in,out] info Tensor info of the accessed kernel.
253 * @param[in] x Offset of the access in X direction.
254 * @param[in] width Number of elements that are accessed in X direction.
255 * @param[in] scale_x Ratio along the X direction between the window used by the execute_window_loop and the rectangular access pattern defined
256 */
257 AccessWindowHorizontal(ITensorInfo *info, int x, int width, float scale_x = 1.f)
258 : AccessWindowRectangle(info, x, 0, width, 1, scale_x, 1.f)
259 {
260 ARM_COMPUTE_ERROR_ON(width < 0);
261 ARM_COMPUTE_ERROR_ON(scale_x < 0);
262 }
263};
264} // namespace arm_compute
265#endif // ACL_ARM_COMPUTE_CORE_IACCESSWINDOW_H

Callers 5

configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85
configureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected