compile
open override fun compile(optimizer: Optimizer, loss: Losses, metric: Metrics, callback: Callback)
Content copied to clipboard
open override fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metric, callback: Callback)
Content copied to clipboard
open override fun compile(optimizer: Optimizer, loss: Losses, metric: Metric, callback: Callback)
Content copied to clipboard
open override fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metrics, 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.