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

unsupported op type in uTensor: Tanh #27

Open
wil3 opened this issue Apr 23, 2018 · 2 comments
Open

unsupported op type in uTensor: Tanh #27

wil3 opened this issue Apr 23, 2018 · 2 comments

Comments

@wil3
Copy link

wil3 commented Apr 23, 2018

When running the tool I get this error. It appears in https://github.com/uTensor/utensor_cgen/blob/master/utensor_cgen/operators.py#L158-L170 that tanh isnt listed. Am I missing something here or is this tool still being developed. Thank you.

@wil3
Copy link
Author

wil3 commented Apr 24, 2018

Following up for those coming across the same thing it appears quantizing activation functions is a hard problem still being researched. This paper seems to be discussing it in more detail https://arxiv.org/pdf/1702.00953.pdf

It might be helpful in the README for both this project and uTensor to specify the supported operators so others will know whether this solution is right for them.

@neil-tan
Copy link
Member

Hey @wil3 ,

Sorry for the delay. Indeed, we should list all the supported operators in the README. I'm going to do that in the next incremental release. Basically, uTensor should support all quantized operators in TF. Possibly non-quantized Ops too, there's always the option of going to quantized to float and to the regular implementations.

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

2 participants