meridian.model.adstock_hill.compute_hill_powers

Computes the (media ** slope, ec ** slope) terms of the Hill function.

media Tensor with dimensions [..., n_geos, n_media_times, n_media_channels].
ec Tensor with dimensions [..., n_media_channels].
slope Tensor with dimensions [..., n_media_channels].

A tuple (t1, t2) of tensors representing media ** slope with dimensions [..., n_geos, n_media_times, n_media_channels] and ec ** slope with dimensions [..., 1, 1, n_media_channels].