check_distribution_compatibility(dist_old: optuna.distributions.BaseDistribution, dist_new: optuna.distributions.BaseDistribution) → None¶
A function to check compatibility of two distributions.
Note that this method is not supposed to be called by library users.
dist_old – A distribution previously recorded in storage.
dist_new – A distribution newly added to storage.
True denotes given distributions are compatible. Otherwise, they are not.