deephyper.nas.losses#

This module provides different loss functions. A loss can be defined by a keyword (str) or a callable following the tensorflow.keras interface. If it is a keyword it has to be available in tensorflow.keras or in deephyper.losses. The loss functions availble in deephyper.losses are: * Negative Log Likelihood (compatible with Tensorflow Probability): tfp_negloglik or tfp_nll

Functions

load_attr

Loadd attribute from module.

selectLoss

Return the loss defined by name.

tfp_negloglik

Negative log likelihood for Tensorflow probability.

Classes

OrderedDict

Dictionary that remembers insertion order