# `Beaver.MLIR.Attribute`

This module defines functions parsing and creating attributes in MLIR.

# `t`

```elixir
@type t() :: %Beaver.MLIR.Attribute{ref: term()}
```

# `affine_map`

# `affine_map?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAAffineMap/1` to check if it is AffineMap attribute

# `array`

# `array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAArray/1` to check if it is Array attribute

# `bool`

# `bool?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsABool/1` to check if it is Bool attribute

# `complex?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAComplex/1` to check if it is Complex attribute

# `dense_array`

# `dense_bool_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseBoolArray/1` to check if it is DenseBoolArray attribute

# `dense_elements`

# `dense_elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseElements/1` to check if it is DenseElements attribute

# `dense_f32_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseF32Array/1` to check if it is DenseF32Array attribute

# `dense_f64_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseF64Array/1` to check if it is DenseF64Array attribute

# `dense_fp_elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseFPElements/1` to check if it is DenseFPElements attribute

# `dense_i8_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseI8Array/1` to check if it is DenseI8Array attribute

# `dense_i16_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseI16Array/1` to check if it is DenseI16Array attribute

# `dense_i32_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseI32Array/1` to check if it is DenseI32Array attribute

# `dense_i64_array?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseI64Array/1` to check if it is DenseI64Array attribute

# `dense_int_elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseIntElements/1` to check if it is DenseIntElements attribute

# `dense_resource_elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADenseResourceElements/1` to check if it is DenseResourceElements attribute

# `dictionary`

# `dictionary?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADictionary/1` to check if it is Dictionary attribute

# `dynamic_attr?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsADynamicAttr/1` to check if it is DynamicAttr attribute

# `elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAElements/1` to check if it is Elements attribute

# `emit_c_cmp_predicate?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAEmitCCmpPredicate/1` to check if it is EmitCCmpPredicate attribute

# `emit_c_opaque?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAEmitCOpaque/1` to check if it is EmitCOpaque attribute

# `flat_symbol_ref`

# `flat_symbol_ref?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAFlatSymbolRef/1` to check if it is FlatSymbolRef attribute

# `float`

# `float?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAFloat/1` to check if it is Float attribute

# `get`

# `gpu_object_attr?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAGPUObjectAttr/1` to check if it is GPUObjectAttr attribute

# `index`

# `integer`

# `integer?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAInteger/1` to check if it is Integer attribute

# `integer_set?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAIntegerSet/1` to check if it is IntegerSet attribute

# `location?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsALocation/1` to check if it is Location attribute

# `make`

# `null`

# `opaque?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAOpaque/1` to check if it is Opaque attribute

# `sparse_elements?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsASparseElements/1` to check if it is SparseElements attribute

# `sparse_tensor_encoding_attr?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsASparseTensorEncodingAttr/1` to check if it is SparseTensorEncodingAttr attribute

# `strided_layout`

# `strided_layout?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAStridedLayout/1` to check if it is StridedLayout attribute

# `string`

# `string?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAString/1` to check if it is String attribute

# `symbol_ref`

# `symbol_ref?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsASymbolRef/1` to check if it is SymbolRef attribute

# `type`

# `type?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAType/1` to check if it is Type attribute

# `unit`

# `unit?`

calls `Beaver.MLIR.CAPI.mlirAttributeIsAUnit/1` to check if it is Unit attribute

# `value`

Get the value of the attribute. The return type depends on the attribute type:

