workspace_compute_contraction_sizes#
-
cuquantum.
bindings. cutensornet. workspace_compute_contraction_sizes( - intptr_t handle,
- intptr_t network_desc,
- intptr_t optimizer_info,
- intptr_t work_desc,
Computes the workspace size needed to contract the tensor network using the provided contraction path.
- Parameters:
handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.
network_desc (intptr_t) – Describes the tensor network (i.e., its tensors and their connectivity).
optimizer_info (intptr_t) – Opaque structure.
work_desc (intptr_t) – The workspace descriptor in which the information is collected.