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

Add the support for float16 #38

Open
ElaineYao opened this issue Oct 15, 2020 · 0 comments
Open

Add the support for float16 #38

ElaineYao opened this issue Oct 15, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ElaineYao
Copy link
Contributor

When running VGG model provided in the repo, I get a TypeError: Unknown type <dtype: 'float16'>. For now, TensorFI supports four types - int and floats of 32 and 64, it might be good to add the support for float16.

Also, there might be a bug at line 284 in injectFault.py

else:
         raise TypeError("Unknown type" + type) 

as it'll raise TypeError: cannot concatenate 'str' and 'DType' objects

Maybe it should be written as

else:
          raise TypeError("Unknown type" + str(type))

Thanks

@nniranjhana nniranjhana added the enhancement New feature or request label Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants