pub unsafe extern "C" fn mlirSparseElementsAttribute(
    shapedType: MlirType,
    denseIndices: MlirAttribute,
    denseValues: MlirAttribute
) -> MlirAttribute
Expand description

Creates a sparse elements attribute of the given shape from a list of indices and a list of associated values. Both lists are expected to be dense elements attributes with the same number of elements. The list of indices is expected to contain 64-bit integers. The attribute is created in the same context as the type.