This is a function of the sample class.
None
Returns the content of the data-frame as a multi-dimensional array.
When working with single-channel data, the array returned by ai_array doesn't have the right structure to be used in convolutional or RNN networks.
Calling this function will adjust the ordering of the array to make it suitable for these multi-dimensional networks.