Function mlir_sys::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.