New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
may you do me a favor. i wanna transfer matlab function to python in pyarma #3
Comments
my work ,but got error--NameError: name 'curr_layer_nodes_value' is not defined ` from pyarma import *
` |
Hi @luyifanlu, from my understanding, |
Thank you . i got a question whether there are cell function in pyarma like matlab. if not, which one can instead of it |
Hi @luyifanlu, if you mean And Happy Chinese New Year! 🥳 |
ow ow, i see. How to get last row. i have tried in X[-1,:] and X[end,:],but both get error.
|
Check this in the doc. |
matlab function
`
function output =NN_F(input)
layer_nodes_num=[200,200,150,150];
bias=0.00001;
%input=traindata(:,1);
pre_layer_nodes_num=length(input);
pre_layer_nodes_value=input'; % input
for l=1:length(layer_nodes_num)
> curr_layer_nodes_num=layer_nodes_num(l);
end
output=curr_layer_nodes_value;
end
`
The text was updated successfully, but these errors were encountered: