create_contraction_optimizer_info_from_packed_data#
-
cuquantum.
bindings. cutensornet. create_contraction_optimizer_info_from_packed_data( - intptr_t handle,
- intptr_t network_desc,
- buffer,
- size_t size_in_bytes,
Create an optimizerInfo object from the provided buffer.
- Parameters:
handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.
network_desc (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