Function mlir_sys::mlirOperationSetAttributeByName
source · pub unsafe extern "C" fn mlirOperationSetAttributeByName(
op: MlirOperation,
name: MlirStringRef,
attr: MlirAttribute
)
Expand description
Sets an attribute by name, replacing the existing if it exists or adding a new one otherwise.