cuquantum.cutensornet.create_contraction_optimizer_info_from_packed_data¶
- cuquantum.cutensornet.create_contraction_optimizer_info_from_packed_data(intptr_t handle, intptr_t desc_net, buffer, size_t size_in_bytes) intptr_t [source]¶
Create an optimizerInfo object from the provided buffer.
- Parameters
handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.
desc_net (intptr_t) – Describes the tensor network (i.e., its tensors and their connectivity) for which
optimizerInfo
is created.buffer (bytes) – A buffer with the contents of optimizerInfo in packed form.
size_in_bytes (size_t) – The size of the buffer (in bytes).
- Returns
Pointer to
cutensornetContractionOptimizerInfo_t
.- Return type
intptr_t