deephyper.nas.losses.selectLoss

deephyper.nas.losses.selectLoss

deephyper.nas.losses.selectLoss(name: str)[source]

Return the loss defined by name.

Parameters

name (str) – a string referenced in DeepHyper, one referenced in keras or an attribute name to import.

Returns

a string suppossing it is referenced in the keras framework or a callable taking (y_true, y_pred) as inputs and returning a tensor.

Return type

str or callable