tensor_svd_algo_params_get_dtype#
-
cuquantum.
bindings. cutensornet. tensor_svd_algo_params_get_dtype(int svd_algo)[source]# Get the Python data type of the corresponding tensor SVD parameters attribute.
- Parameters:
svd_algo (TensorSVDAlgo) – The SVD algorithm to query.
- Returns:
The data type of algorithm parameters for the queried SVD algorithm. The returned dtype is always a valid NumPy dtype object.
Note
This API has no C counterpart and is a convenient helper for allocating memory for
CUTENSORNET_TENSOR_SVD_CONFIG_ALGO_PARAMS.