Skip to content

reward_shapers_have_intrinsic_stream ​

python
reward_shapers_have_intrinsic_stream(reward_shapers: RewardShaperConfiguration) -> bool

Return whether any configured shaper contributes to the intrinsic reward stream.

Parameters:

  • reward_shapers (RewardShaperConfiguration) – None, a single shaper type, or a list of shaper types.

Returns:

  • bool – True when any configured shaper targets the intrinsic stream.

Source