dims
Data format of dlarray
object
Syntax
Description
The dims
function returns the data format of the input.
A data format is a string of characters, where each character describes the type of the corresponding data dimension.
The characters are:
"S"
— Spatial"C"
— Channel"B"
— Batch"T"
— Time"U"
— Unspecified
For example, consider an array containing a batch of sequences where the first, second,
and third dimensions correspond to channels, observations, and time steps, respectively. You
can specify that this array has the format "CBT"
(channel, batch,
time).
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b