Reading labels: index is relative to element offset from start of inputPort->buffer()
Writing labels: index is relative to element offset from start of outputPort->buffer()
This API change could make dealing will labels less tedious (most importantly). If user's need an absolute offset, its easy as adding port->totalElements(), but in most cases, offsets are easier to deal with as offsets into a specific work buffer.
This API change could make dealing will labels less tedious (most importantly). If user's need an absolute offset, its easy as adding port->totalElements(), but in most cases, offsets are easier to deal with as offsets into a specific work buffer.