public readonly property weights as NDArray<T>
Weight gradient [inputs, units].
optimizer.apply(layer.weights, gradients.weights)