cuquantum.cutensornet.contraction_optimizer_info_get_packed_size

cuquantum.cutensornet.contraction_optimizer_info_get_packed_size(intptr_t handle, intptr_t optimizer_info) size_t[source]

Gets the packed size of the optimizer_info object.

Parameters
  • handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.

  • optimizer_info (intptr_t) – Opaque structure of type cutensornetContractionOptimizerInfo_t.

Returns

The packed size (in bytes).

Return type

size_t