R2D2.split#
- R2D2.split(component_name)[source]#
Get lazy reference to a component’s split variable.
- Parameters:
- component_name
str Name of the component (must be a key in dims).
- component_name
- Returns:
R2D2SplitLazy reference to the split variable.
- Raises:
ValueErrorIf component_name is not a key in dims.
Notes
The decomposition auto-builds on first
create_variable()call. This must happen inside apm.Modelcontext.