function setViewOffsets( views, offsets ) {
	var i;
	var j;
	for ( i = 0, j = 0; i < offsets.length; i++ ) {
		if ( i === 1 ) { // note: expected to correspond to the output ndarray which does not have a corresponding view
			continue;
		}
		views[ j ].offset = offsets[ i ];
		j += 1;
	}
	return views;
}
Sets view offsets according to a list of index offsets.

## Notes

-   This function skips the second element in the list of index offsets, as that is assumed to correspond to the output ndarray which does not have a corresponding view. Meaning, the list of views is expected to have `N` elements, and the list of index offsets is expected to have `N+1` elements.
-   This function mutates the provides view objects.

@private
@param {Array<Object>} views - list of ndarray-like objects representing ndarray views
@param {NonNegativeIntegerArray} offsets - list of index offsets
@returns {Array<Object>} updated views