AppendStride

Function

Appends a stride value backward. If the number of appended strides exceeds the maximum limit of strides, this function does nothing.

Function Prototype

Stride& AppendStride(const int64_t value)

Parameters

ParameterInput/OutputDescription
valueInputStride value to append.

Return Value

this reference.

Constraints

None

Example

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