cuquantum.cutensornet.get_output_tensor_descriptor

cuquantum.cutensornet.get_output_tensor_descriptor(intptr_t handle, intptr_t tn_desc) intptr_t[source]

Get the networks output tensor descriptor.

Parameters
  • handle (intptr_t) – The library handle.

  • tn_desc (intptr_t) – The tensor network descriptor.

Returns

An opaque descriptor handle (as Python int).

Users are responsible to call destroy_tensor_descriptor() to clean it up.

Return type

intptr_t