def compute_rnd_reward(model: RNDNetwork, obs: Tensor) -> None:
    """
    **Overview**:
        Compute the RND intrinsic reward using the trained RND model.
    """
    # Compute the intrinsic reward and print it
    rnd_reward = model.compute_rnd_intrinsic_reward(obs)
    print(f"RND intrinsic reward: {rnd_reward}")

    # Assert that the reward has the correct shape, data type, and values
    assert rnd_reward.shape == (obs.shape[0],)
    assert rnd_reward.dtype == torch.float32
    assert rnd_reward.min() >= 0.0

    **Overview**:
        Compute the RND intrinsic reward using the trained RND model.
    
chapter4_reward/curiosity_rnd.py