cuquantum.cutensornet.workspace_compute_svd_sizes¶
- cuquantum.cutensornet.workspace_compute_svd_sizes(intptr_t handle, intptr_t tensor_in, intptr_t tensor_u, intptr_t tensor_v, intptr_t config, intptr_t workspace)[source]¶
Compute the required workspace sizes for
tensor_svd()
.- Parameters
handle (intptr_t) – The library handle.
tensor_in (intptr_t) – The input tensor descriptor.
tensor_u (intptr_t) – The tensor descriptor for the output U.
tensor_v (intptr_t) – The tensor descriptor for the output V.
config (intptr_t) – The tensor SVD config handle.
workspace (intptr_t) – The workspace descriptor.