network_prepare_contraction#
-
cuquantum.
bindings. cutensornet. network_prepare_contraction( - intptr_t handle,
- intptr_t network_desc,
- intptr_t work_desc,
Prepares the network for contraction.
- Parameters:
handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.
network_desc (intptr_t) – The network descriptor whose internal contraction plan will be built.
work_desc (intptr_t) – Opaque structure describing the workspace sizes that are available. At the preparation of the network contraction, only the workspace size is needed; the pointer to the workspace memory may be left null.