parameters property

  1. @override
List<Tensor> get parameters
override

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

@override
List<Tensor> get parameters => [
  K_xf, K_hf, b_f,
  K_xi, K_hi, b_i,
  K_xc, K_hc, b_c,
  K_xo, K_ho, b_o,
];