cuquantum.cutensornet.update_contraction_optimizer_info_from_packed_data¶
- cuquantum.cutensornet.update_contraction_optimizer_info_from_packed_data(intptr_t handle, buf, size_t size, intptr_t info)[source]¶
Update an existing contraction optimizer info object from the packed data.
- Parameters
handle (intptr_t) – The library handle.
buf –
A contiguous host buffer holding the packed optimizer info. It can be
an
int
as the pointer address to the bufferany Python object supporting the Python buffer protocol. In this case, it must be 1D and writable; the format would be ignored.
size (size_t) – The buffer size in bytes.
info (intptr_t) – An opaque optimizer info handle (as Python
int
). It must already be in a valid state (i.e., initialized). Upon completion of this function, theinfo
is updated (in place).