GetVal(TensorDataType &value)

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

Obtains the attribute value of the TensorDataType type.

Prototype

1
int32_t GetVal(TensorDataType &value) const = 0

Parameters

Parameter

Input/Output

Description

Value

Output

Obtained attribute value of the TensorDataType type.

Returns

Exception Handling

None

Constraints

None