dims
R2026bData format of dlarray object
Syntax
Description
The dims function returns the data format of the input.
A deep learning 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, suppose you have an array that represents a batch of sequences where the
first, second, and third dimensions correspond to channels, observations, and time steps,
respectively. You can describe the data as having the format "CBT"
(channel, batch, time).
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b