parameters property

List<Tensor> get parameters

A list of all trainable tensors (weights and biases) in the layer.

This getter is used by the optimizer to know which tensors to update during training. Layers without parameters (like activation layers) return an empty list.

Implementation

List<Tensor> get parameters;