We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code generated by keras2c is the following:
for (size_t i = 0; i < time_distributed_1_timesteps; ++i) { max_pooling2d_timeslice_input.array = &time_distributed_output.array[i * time_distributed_1_in_offset]; max_pooling2d_timeslice_output.array = &time_distributed_1_output.array[i * time_distributed_1_out_offset]; k2c_maxpool2d(&max_pooling2d_timeslice_output, &max_pooling2d_timeslice_input, max_pooling2d_pool_size, max_pooling2d_stride); }
It compiles fine, but when in execution, it raises an error (SIGSEGV) when calling k2c_maxpool2d()
k2c_maxpool2d()
The text was updated successfully, but these errors were encountered:
More precisely the problem appears to be here:
Thread 1 received signal SIGSEGV, Segmentation fault. k2c_maxpool2d (output=0x907b1fdb30, input=0x907b1fdc90, pool_size=0x907b1fe3b0, stride=0x907b1fe3c0) at keras2c/include/k2c_pooling_layers.c:105 105 output->array[l+j+i] = input->array[m+k+i];
Sorry, something went wrong.
No branches or pull requests
The code generated by keras2c is the following:
It compiles fine, but when in execution, it raises an error (SIGSEGV) when calling
k2c_maxpool2d()
The text was updated successfully, but these errors were encountered: