Join the newly launched
Discord community for real-time discussions, peer support, and direct interaction with the Meridian team!
meridian.model.media.build_rf_tensors
Stay organized with collections
Save and categorize content based on your preferences.
Derives an RfTensors container from RF media values in given input.
meridian.model.media.build_rf_tensors(
input_data: meridian.data.input_data.InputData
,
model_spec: meridian.model.spec.ModelSpec
) -> meridian.model.media.RfTensors
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis function, \u003ccode\u003ebuild_rf_tensors\u003c/code\u003e, derives an \u003ccode\u003eRfTensors\u003c/code\u003e container.\u003c/p\u003e\n"],["\u003cp\u003eThe function takes \u003ccode\u003eInputData\u003c/code\u003e and \u003ccode\u003eModelSpec\u003c/code\u003e as input.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRfTensors\u003c/code\u003e container is the output of the function.\u003c/p\u003e\n"],["\u003cp\u003eThe source code for this function can be found on Github at the provided link.\u003c/p\u003e\n"]]],[],null,["# meridian.model.media.build_rf_tensors\n\n\u003cbr /\u003e\n\n|-----------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/google/meridian/blob/v1.1.7/meridian/model/media.py#L246-L307) |\n\nDerives an RfTensors container from RF media values in given input. \n\n meridian.model.media.build_rf_tensors(\n input_data: ../../../meridian/data/input_data/InputData.md,\n model_spec: ../../../meridian/model/spec/ModelSpec.md\n ) -\u003e ../../../meridian/model/media/RfTensors.md"]]