mlir._mlir_libs._mlirPythonTestNanobind¶
Classes¶
Functions¶
|
|
|
|
Module Contents¶
- mlir._mlir_libs._mlirPythonTestNanobind.register_python_test_dialect(context: Context | None = None, load: bool = True) None¶
- mlir._mlir_libs._mlirPythonTestNanobind.register_dialect(registry: mlir.ir.DialectRegistry) None¶
- mlir._mlir_libs._mlirPythonTestNanobind.test_diagnostics_with_errors_and_notes(context: Context | None = None) None¶
- class mlir._mlir_libs._mlirPythonTestNanobind.TestAttr(cast_from_attr: mlir._mlir_libs._mlir.ir.Attribute)¶
Bases:
mlir._mlir_libs._mlir.ir.Attribute- property type: mlir._mlir_libs._mlir.ir.Type¶
- property typeid: mlir._mlir_libs._mlir.ir.TypeID¶
- __repr__() str¶
- class mlir._mlir_libs._mlirPythonTestNanobind.TestType(cast_from_type: mlir._mlir_libs._mlir.ir.Type)¶
Bases:
mlir._mlir_libs._mlir.ir.Type- property typeid: mlir._mlir_libs._mlir.ir.TypeID¶
- __repr__() str¶
- class mlir._mlir_libs._mlirPythonTestNanobind.TestIntegerRankedTensorType(cast_from_type: mlir._mlir_libs._mlir.ir.Type)¶
Bases:
mlir._mlir_libs._mlir.ir.RankedTensorType- property typeid: mlir._mlir_libs._mlir.ir.TypeID¶
- __repr__() str¶
- static get(shape: collections.abc.Sequence[int], width: int, context: Context | None = None) TestIntegerRankedTensorType¶
- class mlir._mlir_libs._mlirPythonTestNanobind.TestTensorValue(value: mlir._mlir_libs._mlir.ir.Value)¶
Bases:
Value[_T]- maybe_downcast() TestTensorValue¶
- __str__() str¶
- is_null() bool¶