get_data_type

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 data type of a tensor.

Prototype

1
get_data_type(self) -> np.type

Parameters

None

Returns

Data type of a tensor. The returned type is dtype in NumPy.

Exception Handling

None

Constraints

None