cuquantum.cutensornet.tensor_svd_config_get_attribute_dtype

cuquantum.cutensornet.tensor_svd_config_get_attribute_dtype(int attr)

Get the Python data type of the corresponding tensor SVD config attribute.

Parameters

attr (TensorSVDConfigAttribute) – The attribute to query.

Returns

The data type of the queried attribute.

Note

This API has no C counterpart and is a convenient helper for allocating memory for tensor_svd_config_get_attribute() and tensor_svd_config_set_attribute().