Added get_target_space to mlp and Composite layer