TensorDescriptorAttribute#
-
enum cuquantum.
bindings. cutensornet. TensorDescriptorAttribute(value)[source]# This enum lists attributes of a
cutensornetTensorDescriptor_tthat can be queried viacutensornetTensorDescriptorGetAttribute(). Array- valued attributes expect a buffer of lengthnumModes(as returned bycutensornetGetTensorDetails()). For a non-distributed descriptor, distributed-only attributes are still defined: block sizes andnranksPerModeentries are treated as fully local (nranksPerMode[i] == 1, block size0meaning a single contiguous partition).See
cutensornetTensorDescriptorAttributes_t.- Member Type:
Valid values are as follows:
- IS_DISTRIBUTED = <TensorDescriptorAttribute.IS_DISTRIBUTED: 0>#
- ELEMENT_STRIDES = <TensorDescriptorAttribute.ELEMENT_STRIDES: 1>#
- BLOCK_SIZES = <TensorDescriptorAttribute.BLOCK_SIZES: 2>#
- BLOCK_STRIDES = <TensorDescriptorAttribute.BLOCK_STRIDES: 3>#
- NRANKS_PER_MODE = <TensorDescriptorAttribute.NRANKS_PER_MODE: 4>#
- LOCAL_DATA_SIZE = <TensorDescriptorAttribute.LOCAL_DATA_SIZE: 5>#
- LOCAL_EXTENTS = <TensorDescriptorAttribute.LOCAL_EXTENTS: 6>#