From 3a4949c9ec03ca6c9b27a6505074f687461d3cf9 Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 15 May 2024 15:39:01 +0200 Subject: [PATCH] remove erroneous build method (WIP) --- bayesflow/experimental/amortizers/amortizer.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bayesflow/experimental/amortizers/amortizer.py b/bayesflow/experimental/amortizers/amortizer.py index 02f80af26..e439e1b3a 100644 --- a/bayesflow/experimental/amortizers/amortizer.py +++ b/bayesflow/experimental/amortizers/amortizer.py @@ -26,12 +26,6 @@ def get_config(self): return base_config | config - def build(self, input_shape): - if self.summary_network is not None: - self.summary_network.build(input_shape) - - self.inference_network.build(input_shape) - def call(self, x: dict, **kwargs): inferred_variables = self.configure_inferred_variables(x) observed_variables = self.configure_observed_variables(x)