-
Notifications
You must be signed in to change notification settings - Fork 4
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
new error, struct std::move error: #64
Comments
Sorry for not replying recently, I have a lot more time so I will be trying to fix all of these soon! |
Just an update: I am currently working on the project though I am splitting my time between two projects now: I am currently working on a redesign of some parts of the Tensor, and later the neural network. I am going to try and get a virtual machine for Windows so I can more consistently test changes on windows. Thanks for your patience. |
(Hopefully) fixed as of Made some other changes to remove most warnings as well. |
still not support m_pnetwork = std::move(make_lstm_network()): typedef struct _LstmPredictTask { |
I was able to replicate the error and have fixed it here: I've added some tests to cover this bug as well! |
My struct,it does not supprot: m_pnetwork = std::move, now:
auto make_lstm_network() {
return bc::nn::neuralnetwork(
bc::nn::lstm(bc::host_tag(), 96 * 10, 1024, bc::nn::adam),
bc::nn::lstm(bc::host_tag(), 1024, 512, bc::nn::adam),
bc::nn::lstm(bc::host_tag(), 512, 216, bc::nn::adam),
bc::nn::feedforward(bc::host_tag(), 216, 192),
bc::nn::logistic(bc::host_tag(), 192),
bc::nn::logging_output_layer(bc::host_tag(), 192, bc::nn::RMSE).skip_every(100)
);
}
using network_type = decltype(make_lstm_network());
typedef struct _LstmPredictTask {
int m_batch_size;
double m_learning_rate;
network_type m_pnetwork = make_lstm_network();
void reset_neural_network() {
m_pnetwork = std::move(make_lstm_network());
}
} LstmPredictTask;
error:
The text was updated successfully, but these errors were encountered: