我有一个训练有素的MATLAB网络内置神经网络,我想在我的C ++程序中使用它。有没有可以读取此神经网络的C ++库?
答案 0 :(得分:0)
您可以检索神经网络的权重并在C ++程序中使用它。
w1 = net.IW{1} %the input-to-hidden layer weights
w2 = net.LW{2} %the hidden-to-output layer weights
b1 = net.b{1} %the input-to-hidden layer bias
b2 = net.b{2} %the hidden-to-output layer bias