CIRCT 20.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
om.Evaluator Class Reference
Inheritance diagram for om.Evaluator:
Inheritance graph
[legend]
Collaboration diagram for om.Evaluator:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, Module mod)
 
Object instantiate (self, str cls, *Any args)
 

Protected Member Functions

bool _handle_diagnostic (self, Diagnostic diagnostic)
 

Protected Attributes

 _logger
 
 _handle_diagnostic
 

Detailed Description

Definition at line 164 of file om.py.

Constructor & Destructor Documentation

◆ __init__()

None om.Evaluator.__init__ (   self,
Module  mod 
)
Instantiate an Evaluator with a Module.

Definition at line 166 of file om.py.

References om.Evaluator.__init__().

Referenced by om.Evaluator.__init__().

Member Function Documentation

◆ _handle_diagnostic()

bool om.Evaluator._handle_diagnostic (   self,
Diagnostic  diagnostic 
)
protected
Handle MLIR Diagnostics by logging them.

Definition at line 203 of file om.py.

References om.Evaluator._logger.

◆ instantiate()

Object om.Evaluator.instantiate (   self,
str  cls,
*Any  args 
)
Instantiate an Object with a class name and actual parameters.

Definition at line 184 of file om.py.

References om.Evaluator.instantiate(), hw.InstanceBuilder.module, and om.unwrap_python_object().

Referenced by om.Evaluator.instantiate().

Member Data Documentation

◆ _handle_diagnostic

om.Evaluator._handle_diagnostic
protected

Definition at line 182 of file om.py.

◆ _logger

om.Evaluator._logger
protected

Definition at line 179 of file om.py.

Referenced by om.Evaluator._handle_diagnostic().


The documentation for this class was generated from the following file: