Skip to content

Commit 939c453

Browse files
committed
raise error with numpy transform (for now)
1 parent e4bbdc7 commit 939c453

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bayesflow/adapters/transforms/numpy_transform.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@ def forward(self, data: dict[str, any], **kwargs) -> dict[str, any]:
7878

7979
def inverse(self, data: np.ndarray, **kwargs) -> np.ndarray:
8080
return self._inverse(data)
81+
82+
def log_det_jac(self, data, inverse=False, **kwargs):
83+
raise NotImplementedError("Jacobian of the numpy transforms are not implemented yet")

0 commit comments

Comments
 (0)