Function mlir_sys::mlirRankedTensorTypeGet
source · pub unsafe extern "C" fn mlirRankedTensorTypeGet(
rank: isize,
shape: *const i64,
elementType: MlirType,
encoding: MlirAttribute
) -> MlirType
Expand description
Creates a tensor type of a fixed rank with the given shape, element type, and optional encoding in the same context as the element type. The type is owned by the context. Tensor types without any specific encoding field should assign mlirAttributeGetNull() to this parameter.