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