cuquantum.cutensornet.get_output_tensor_descriptor¶
- cuquantum.cutensornet.get_output_tensor_descriptor(intptr_t handle, intptr_t desc_net) 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.
desc_net (intptr_t) – Pointer to a
cutensornetNetworkDescriptor_t
.
- Returns
an opaque
cutensornetTensorDescriptor_t
struct. Cannot be null. On return, a newcutensornetTensorDescriptor_t
holds the meta-data of thedesc_net
output tensor.- Return type
intptr_t