Skip to content

Enable partial evaluation of forward models #676

@amal-ghamdi

Description

@amal-ghamdi

General description of task

Allow partial evaluation of models. Let's say we have a multiple input forward model named myModel that has three inputs a, b, and c. After this update, the user is able create a partial model:

partial_model = myModel(a=1)

partial_model is, in itself, a CUQIpy model. For design details refer to section "2. Partial evaluation of the forward model" in internal design document

Definition of Done (Feature/change)

Definition of Done (Mandatory)

  • Documentation added (docstrings on all public methods/classes)
  • Unit tests added/updated (and passing!)
  • Code reviewed and approved by 2 CUQI-maintainers
  • Online documentation is rendered correctly (esp. math)

Defintion of Done (Optional)

  • HowTo/tutorial added

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions