compile
abstract fun compile(optimizer: Optimizer, loss: Losses, metric: Metrics, callback: Callback = Callback())
Content copied to clipboard
abstract fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metric, callback: Callback = Callback())
Content copied to clipboard
abstract fun compile(optimizer: Optimizer, loss: Losses, metric: Metric, callback: Callback = Callback())
Content copied to clipboard
abstract fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metrics, callback: Callback = Callback())
Content copied to clipboard
Configures the model for training.
NOTE: Set up isModelCompiled to True.
Parameters
optimizer
Optimizer instance.
loss
Loss function.
metric
Metric to evaluate during training.
callback
Callback to be used during training, evaluation and prediction phases.