Obtains the total memory size occupied by data_type (number specified by element_count) based on the input element_count and data_type.
| Parameter | Input/Output | Description |
|---|---|---|
| element_count | Input | Number of data types. |
| data_type | Input | Data type. For details, see DataType. |