how to use CvANN_MLP::get_weights()

asked 2014-07-05 06:55:06 -0500

alirezad gravatar image

hello, how should we use the double array which return by CvANN_MLP::get_weights(). Imagine we have a 3 layer network. layer0: 4 nerouns, layer1: 2 neruon, layer2: 4 nerouns. when i call CvANN_MLP::get_weights(0), I think this should give me the weights between layer0 and layer1, is that right? and something else: weights between two layer should be 2D array. how should I convert this 1D array to 2D one? Thanks in advance.

edit retag flag offensive close merge delete