TrainableLayer

interface TrainableLayer : ParametrizedLayer

Represents a ParametrizedLayer that can be trained.

Properties

isTrainable
Link copied to clipboard
abstract var isTrainable: Boolean

True, if layer's weights could be changed during training. If false, layer's weights are frozen and could not be changed during training.

paramCount
Link copied to clipboard
open val paramCount: Int

Number of parameters in this layer.

variables
Link copied to clipboard
abstract val variables: List<KVariable>

Variables used in this layer.

Inheritors

PReLU
Link copied to clipboard
Conv1D
Link copied to clipboard
Conv2D
Link copied to clipboard
Dense
Link copied to clipboard