Skip to content

Commit a2cfacc

Browse files
andyl7anThe Meridian Authors
authored andcommitted
[JAX] Add ComputationBackend proto to Meridian
PiperOrigin-RevId: 865110630
1 parent 76d430b commit a2cfacc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

proto/mmm/v1/model/meridian/meridian_model.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,13 @@ enum NonPaidTreatmentsPriorType {
319319
NON_PAID_TREATMENTS_PRIOR_TYPE_CONTRIBUTION = 2;
320320
}
321321

322+
// The computational backend used to train the model.
323+
enum ComputationBackend {
324+
COMPUTATION_BACKEND_UNSPECIFIED = 0;
325+
TENSORFLOW = 1;
326+
JAX = 2;
327+
}
328+
322329
// Specifies the adstock decay function for each channel.
323330
message AdstockDecayByChannel {
324331
// A map where keys are channel names and values are the adstock decay
@@ -597,6 +604,8 @@ message MeridianModel {
597604

598605
// User-configurable EDA check specs.
599606
eda.EDASpec eda_spec = 19;
607+
608+
ComputationBackend computation_backend = 21;
600609
}
601610

602611
// Represents TensorFlow statistical distribution spec that are used in user

0 commit comments

Comments
 (0)