cuquantum.cutensornet.contraction_optimizer_info_get_packed_size¶
- cuquantum.cutensornet.contraction_optimizer_info_get_packed_size(intptr_t handle, intptr_t info) size_t[source]¶
Get the required buffer size for packing the optimizer info object.
- Parameters
handle (intptr_t) – The library handle.
info (intptr_t) – An opaque optimizer info handle (as Python
int). It must already be in a valid state (i.e., initialized).
- Returns
The buffer size.
- Return type
size_t