Function mlir_sys::mlirRankedTensorTypeGetChecked
source · pub unsafe extern "C" fn mlirRankedTensorTypeGetChecked(
loc: MlirLocation,
rank: isize,
shape: *const i64,
elementType: MlirType,
encoding: MlirAttribute
) -> MlirType
Expand description
Same as “mlirRankedTensorTypeGet” but returns a nullptr wrapping MlirType on illegal arguments, emitting appropriate diagnostics.