modeci_mdf.execution_engine.evaluate_onnx_expr
- modeci_mdf.execution_engine.evaluate_onnx_expr(expr: str, base_parameters: Dict[str, Any], evaluated_parameters: Dict, verbose: bool = False) Any [source]
Evaluates a simple expression in string format representing an ONNX function call
- Parameters:
expr (str) – Expression to be evaluated
base_parameters (Dict[str, Any]) – A dict of parameters that may contain variables
evaluated_parameters (Dict) – A dict mapping variables used in base_parameters to actual values
verbose (bool, optional) – If set to True provides in-depth information else verbose message is not displayed. Defaults to False.
- Returns:
the return value of expr
- Return type:
Any