mlir_sys

Function mlirElementsAttrIsValidIndex

Source
pub unsafe extern "C" fn mlirElementsAttrIsValidIndex(
    attr: MlirAttribute,
    rank: isize,
    idxs: *mut u64,
) -> bool
Expand description

Checks whether the given rank-dimensional index is valid in the given elements attribute.