cuquantum.cutensornet.create_contraction_optimizer_info

cuquantum.cutensornet.create_contraction_optimizer_info(intptr_t handle, intptr_t desc_net) intptr_t[source]

Allocates resources for optimizerInfo.

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.

Returns

Pointer to cutensornetContractionOptimizerInfo_t.

Return type

intptr_t