-
Notifications
You must be signed in to change notification settings - Fork 90
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
[Question] How to add bias after conv? #110
Comments
I thought I solved it, but the problem remains, could someone help me with it? |
Hi @zhewenhu, Which values of n, c, h, w, k, r, and s do you use? |
Hi @gritukan , my setting is n = 1, c = 1, h = 4, w = 4, k = 4, r = 3, s = 3; std::vector<float> x_values = {
1, 2, 3, 4,
5, 6, 7, 8,
9, 10, 11, 12
13, 14, 15, 16
};
std::vector<float> w_values = {
// First filter (3x3)
1.0f, 0.0f, 1.0f,
0.0f, 1.0f, 0.0f,
1.0f, 0.0f, 1.0f,
// Second filter (3x3)
0.0f, 1.0f, 0.0f,
1.0f, 0.0f, 1.0f,
0.0f, 1.0f, 0.0f,
// Third filter (3x3)
1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f,
1.0f, 1.0f, 1.0f,
// Fourth filter (3x3 - all zeros)
0.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f,
0.0f, 0.0f, 0.0f
};
std::vector<float> x_values = {1, 1, 1, 1}; |
Hi @zhewenhu (backend/fe log will be useful) Also, which architecture are you using? Thanks |
Hi all, I am building the graph as in the image:
The document suggests this graph is supported, but I got the seg fault at
get_uid
when doinggraph->execute
, could anyone help me to solve the problem?I basically used the example here, but removed scaling. Here is my code:
The text was updated successfully, but these errors were encountered: