guides/training_with_built_in_methods.py/LogisticEndpoint/__init__
class LogisticEndpoint:    def __init__(self, name=None):
        super().__init__(name=name)
        self.loss_fn = keras.losses.BinaryCrossentropy(from_logits=True)