Skip to content

sparsity

Classes

AirDimensionMetaData

Metadata for a dimension in a sparse tensor.

Attributes:

  • format (int) –

    Format of the dimension.

  • dense_size (int) –

    Dense size of the dimension.

  • array_segments_type (int) –

    Array segments type.

  • array_segments (list[int] | None) –

    Array segments.

  • array_indices_type (int) –

    Array indices type.

  • array_indices (list[int] | None) –

    Array indices.

AirSparsityParameters

Parameters for sparsity in a tensor.

Attributes: