mlir_sys

Function mlirSparseTensorEncodingAttrGet

Source
pub unsafe extern "C" fn mlirSparseTensorEncodingAttrGet(
    ctx: MlirContext,
    lvlRank: isize,
    lvlTypes: *const MlirSparseTensorLevelType,
    dimToLvl: MlirAffineMap,
    lvlTodim: MlirAffineMap,
    posWidth: c_int,
    crdWidth: c_int,
    explicitVal: MlirAttribute,
    implicitVal: MlirAttribute,
) -> MlirAttribute
Expand description

Creates a sparse_tensor.encoding attribute with the given parameters.