We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7b5780 + 397124d commit ae7ebd0Copy full SHA for ae7ebd0
1 file changed
autogalaxy/quantity/model/analysis.py
@@ -78,12 +78,14 @@ def _register_fit_quantity_pytrees() -> None:
78
carry the traced model arrays and ride as pytree children.
79
"""
80
from autoarray.abstract_ndarray import register_instance_pytree
81
+ from autoarray.dataset.dataset_model import DatasetModel
82
from autogalaxy.analysis.jax_pytrees import register_galaxies_pytree
83
84
register_instance_pytree(
85
FitQuantity,
86
no_flatten=("dataset", "func_str", "use_mask_in_fit"),
87
)
88
+ register_instance_pytree(DatasetModel)
89
register_galaxies_pytree()
90
91
def log_likelihood_function(self, instance: af.ModelInstance) -> float:
0 commit comments