mlir_sys

Function mlirOperationHasInherentAttributeByName

Source
pub unsafe extern "C" fn mlirOperationHasInherentAttributeByName(
    op: MlirOperation,
    name: MlirStringRef,
) -> bool
Expand description

Returns true if this operation defines an inherent attribute with this name. Note: the attribute can be optional, so mlirOperationGetInherentAttributeByName can still return a null attribute.