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

Always allocates 4 x input layer x first hidden layer bytes #159

Open
janjongboom opened this issue Jun 20, 2019 · 0 comments
Open

Always allocates 4 x input layer x first hidden layer bytes #159

janjongboom opened this issue Jun 20, 2019 · 0 comments

Comments

@janjongboom
Copy link
Member

The first layer of my model is: 186 input nodes -> 150 hidden nodes. uTensor allocates 111,600 bytes for this. This should not be necessary. My weights are already distributed between -127 and 127, and thus I should be able to pass in a uint8_t RAM tensor and just allocate 27,900 bytes instead.

Test case here: https://github.com/janjongboom/utensor-test although I made it 186x40 because otherwise I couldn't run this.

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