Function mlir_sys::mlirSparseTensorEncodingAttrGet
source · pub unsafe extern "C" fn mlirSparseTensorEncodingAttrGet(
ctx: MlirContext,
lvlRank: isize,
lvlTypes: *const MlirSparseTensorDimLevelType,
dimToLvl: MlirAffineMap,
posWidth: c_int,
crdWidth: c_int
) -> MlirAttribute
Expand description
Creates a sparse_tensor.encoding
attribute with the given parameters.