Currently, the code assumes whenever we use customized function or lambda expression based interventions, we only allow two arguments. This. change allows us to specify the subspace for these interventions as well.
Ideally, the third argument could be anything for these customized interventions, which will be a future change.
Testing Done
Tutorial test is added.
Checklist:
[x] My PR title strictly follows the format: [Your Priority] Your Title
Description
Currently, the code assumes whenever we use customized function or lambda expression based interventions, we only allow two arguments. This. change allows us to specify the subspace for these interventions as well.
Ideally, the third argument could be anything for these customized interventions, which will be a future change.
Testing Done
Tutorial test is added.
Checklist:
[Your Priority] Your Title