Skip to content
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

resnet #49

Closed
cpppx opened this issue Sep 16, 2021 · 0 comments
Closed

resnet #49

cpppx opened this issue Sep 16, 2021 · 0 comments

Comments

@cpppx
Copy link

cpppx commented Sep 16, 2021

I want apply it to resent, so I write

kad_node_t *basic_block(kad_node_t *x, int channel)
{
	kad_node_t *y = kad_relu(kann_layer_conv2d(x, channel, 3, 3, 1, 1, 1, 1));
	y = kann_layer_conv2d(y, channel, 3, 3, 1, 1, 1, 1);
	return kad_relu(kad_add(x, y));
}

but it will arise segmentation fault

@cpppx cpppx closed this as completed Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant