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

Sigmoid activation stream implementation #36

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

veyron8800
Copy link

Hello @vloncar,

I found some time to write up a streaming implementation of the sigmoid activation function. I mostly reuse the lookup table infrastructure from the io_parallel/io_series implementation.

The tarball below contains a simple script I wrote to generate a simple model and input data to test the code.

test_sigmoid.tar.gz

Copy link
Owner

@vloncar vloncar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @veyron8800

initialized = true;
}

int data_round;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get rid of these and declare them in the loop? I was told this style was needed for some ancient version of Vivado but I have never encountered this issue.

@vloncar vloncar merged commit 0c5613f into vloncar:cnn_stream Dec 2, 2020
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

Successfully merging this pull request may close these issues.

2 participants