isTrainable

val Layer.isTrainable: Boolean

Returns true if this Layer is trainable, false otherwise. Always returns false for layers not implementing TrainableLayer.