How to retrive input values from Flux Dense layer

Seems to be layer.weight to access the weight matrix, where the first dimension of that matrix is the output size and the second dimension is the input size.

1 Like