Python objects & constants¶
Objects¶
|
A proxy object to hold a |
Enums¶
|
|
|
|
|
|
|
Python functions¶
Handle Management API¶
|
Create a cuTensorNet handle. |
|
Destroy a cuTensorNet handle. |
Network Descriptor API¶
|
Create a tensor network descriptor. |
|
Destroy a tensor network descriptor. |
|
Get the output tensor's metadata. |
Contraction Optimizer API¶
Create a contraction optimizer info object. |
|
|
Destroy a contraction optimizer info object. |
Get the Python data type of the corresponding optimizer info attribute. |
|
Get the optimizer info attribute. |
|
Set the optimizer info attribute. |
|
Create a contraction optimizer config object. |
|
Destroy a contraction optimizer config object. |
|
Get the Python data type of the corresponding optimizer config attribute. |
|
Get the optimizer config attribute. |
|
Set the optimizer config attribute. |
|
|
Optimize the contraction path, slicing, etc, for the given tensor network. |
Contraction Plan API¶
|
Create a contraction plan for the given tensor network and the associated path. |
|
Destroy a contraction plan. |
Create a handle to hold all autotune parameters. |
|
Destroy the autotue preference handle. |
|
Get the Python data type of the corresponding autotune preference attribute. |
|
Get the autotue preference attributes. |
|
Set the autotue preference attributes. |
|
|
Autotune the contraction plan to find the best kernels for each pairwise tensor contraction. |
Workspace Management API¶
|
Create a workspace descriptor. |
|
Destroy a workspace descriptor. |
|
Compute the required workspace sizes. |
|
Get the workspace size for the corresponding preference and memory space. |
|
Set the workspace pointer and size for the corresponding memory space in the workspace descriptor for later use. |
|
Get the workspace pointer and size for the corresponding memory space that are set in a workspace descriptor. |
Memory Management API¶
|
Set the device memory handler for cuTensorNet. |
|
Get the device memory handler for cuTensorNet. |
Network Contraction API¶
|
Perform the contraction of the input tensors. |
Versioning API¶
Query the version of the cuTensorNet library. |
|
Query the version of the CUDA runtime used to build cuTensorNet. |