AppendStride

Function Usage

Appends a step value. If the number of appended step values exceeds the maximum value of the stride, this function does not perform any operation.

Prototype

1
Stride& AppendStride(const int64_t value)

Parameters

Parameter

Input/Output

Description

value

Input

Step value to be appended.

Returns

"this" reference

Constraints

None

Examples

1
2
Stride stride0({3, 256, 256});
stride0.AppendStride(1024); // 3,256,256,1024