Function slice_size#
Defined in File core/utils.h
Function Documentation#
-
int64_t slice_size(int64_t start, int64_t stop, int64_t step)#
Get the size of a slice.
- Parameters:
start – [in] Starting index of the slice.
stop – [in] Final index of the slice.
step – [in] Step of the slice.