Test neural net weight functions