compile
abstract fun compile(optimizer: Optimizer, loss: Losses, metric: Metrics)
Content copied to clipboard
abstract fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metric)
Content copied to clipboard
abstract fun compile(optimizer: Optimizer, loss: LossFunction, metric: Metrics)
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.
abstract fun compile(optimizer: Optimizer, loss: LossFunction, metrics: List<Metric>)
Content copied to clipboard
Configures the model for training.
NOTE: Set up isModelCompiled to True.
Parameters
optimizer
Optimizer instance.
loss
Loss function.
metrics
Metrics to evaluate during training.