cuquantum.cutensornet.update_contraction_optimizer_info_from_packed_data¶
- cuquantum.cutensornet.update_contraction_optimizer_info_from_packed_data(intptr_t handle, buffer, size_t size_in_bytes, intptr_t optimizer_info)[source]¶
Update the provided
optimizer_info
object from the provided buffer.- Parameters
handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.
buffer (bytes) – A buffer with the contents of optimizer_info in packed form.
size_in_bytes (size_t) – The size of the buffer (in bytes).
optimizer_info (intptr_t) – Opaque object of type
cutensornetContractionOptimizerInfo_t
that will be updated.