get_output_tensor_descriptor#

cuquantum.bindings.cutensornet.get_output_tensor_descriptor(
intptr_t handle,
intptr_t network_desc,
) intptr_t[source]#

Creates a cutensornetTensorDescriptor_t representing the output tensor of the network.

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

  • network_desc (intptr_t) – Pointer to a cutensornetNetworkDescriptor_t.

Returns:

an opaque cutensornetTensorDescriptor_t struct. Cannot be null. On return, a new cutensornetTensorDescriptor_t holds the meta-data of the network_desc output tensor.

Return type:

intptr_t