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. |
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. |
Network Contraction API¶
Compute the required workspace size for contracting the input tensor network. |
|
|
Perform the contraction of the input tensors. |
Versioning API¶
Query the version of the cuTensorNet library. |
|
Query the version of the CUDA runtime. |