Doing so shows that the weight and coeff0 have zero parts everywhere except at the positions of the parameter blocks they depend on (the first three blocks have a length of 8 each and the remaining blocks have all a length of 1). I assume that's what's to be expected? But then, how can I resolve that?
sample_color: 0.0288391
weight: [0 ; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047448, 0.711337, 0.0150835, 0.226131, 0, 0, 0, 0]
coeff0: [0 ; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.047448, 0.711337, 0.0150835, 0.226131]
color: [0 ; 0.0236095, -0.0207792, 0.0860466, 0.049584, -0.0119739, -0.0500102, -0.0436399, 0.0835539, 0.0537573, -0.0473129, 0.195923, 0.1129, -0.0272639, -0.11387, -0.0993653, 0.190247, 0.0485485, -0.0427286, 0.176939, 0.10196, -0.0246221, -0.102837, -0.0897373, 0.171813, 0, 0, 0, 0, 0.047448, 0.711337, 0.0150835, 0.226131]
residual[0]: [0.0288391 ; -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0, -0]