Searched refs:custom_loss (Results 1 – 2 of 2) sorted by relevance
137 def custom_loss(y_obs, y_pred): function143 model.compile('SGD', loss=custom_loss)
471 def custom_loss(y_true, y_pred): function477 model.compile(loss=custom_loss, optimizer=CustomOp(), metrics=['acc'])490 'custom_loss': custom_loss})