加入新推出的
Discord 社区,展开实时讨论,获得同行支持,并直接与 Meridian 团队互动!
meridian.model.adstock_hill.AdstockHillTransformer
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
用于计算媒体的 Adstock 和 Hill 转换的抽象类。
方法
forward
查看源代码
@abc.abstractmethod
forward(
media: tf.Tensor
) -> tf.Tensor
计算给定媒体张量的 Adstock 和 Hill 转换。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-25。
[null,null,["最后更新时间 (UTC):2025-01-25。"],[],["The core content describes an abstract class designed for media transformation using Adstock and Hill functions. It defines a single method, `forward`, which is an abstract method requiring implementation. This `forward` method takes a media tensor (`tf.Tensor`) as input and computes the Adstock and Hill transformation, returning the transformed tensor as output. This is the primary functionality of the class.\n"],null,[]]