deephyper.nas.metrics.to_tfp#

deephyper.nas.metrics.to_tfp(metric_func)[source]#

Convert a regular tensorflow-keras metric for tensorflow probability where the output is a distribution.

Parameters:

metric_func (func) – A regular tensorflow-keras metric function.