Function mlir_sys::mlirDenseElementsAttrReshapeGet
source · pub unsafe extern "C" fn mlirDenseElementsAttrReshapeGet(
attr: MlirAttribute,
shapedType: MlirType
) -> MlirAttribute
Expand description
Creates a dense elements attribute that has the same data as the given dense elements attribute and a different shaped type. The new type must have the same total number of elements.