cuquantum.cutensornet.get_output_tensor_details¶
- cuquantum.cutensornet.get_output_tensor_details(intptr_t handle, intptr_t tn_desc) tuple [source]¶
Get the output tensor’s metadata.
- Parameters
handle (intptr_t) – The library handle.
tn_desc (intptr_t) – The tensor network descriptor.
- Returns
The metadata of the output tensor:
(num_modes, modes, extents, strides)
.- Return type
See also