concepts.pdsketch.regression_utils.map_csp_placeholder_action#

map_csp_placeholder_action(action, csp, placeholder_csp, cur_csp_variable_mapping, cur_reg_variable_mapping=None)[source]#

Map the CSP variables in the action to the CSP variables in the placeholder CSP.

Parameters:
Return type:

Tuple[OperatorApplier, Dict[int, TensorValue]]