Function: data_type_size

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Obtains the size of the aclDataType data, in bytes.

Prototype

  • C Prototype
    1
    size_t aclDataTypeSize(aclDataType dataType)
    
  • Python Function
    1
    size = acl.data_type_size(data_type)
    

Parameter Description

Parameter

Description

data_type

Size of the aclDataType data to be obtained. The value is an integer.

Return Value Description

Return Value

Description

size

Size of the aclDataType data. The value is an integer, in bytes.