Closed han-ol closed 4 months ago
Implementation proposal to the signature change of the loss_fun used for Amortized Bayes Estimators as discussed in https://github.com/stefanradev93/BayesFlow/issues/121.
loss_fun
It stays as simple as before to use norm_ord, but the optional loss_fun argument expects a function object with two arguments, rather than the difference of parameters and network output.
norm_ord
Great idea!
Thanks!
Implementation proposal to the signature change of the
loss_fun
used for Amortized Bayes Estimators as discussed in https://github.com/stefanradev93/BayesFlow/issues/121.It stays as simple as before to use
norm_ord
, but the optionalloss_fun
argument expects a function object with two arguments, rather than the difference of parameters and network output.