Skip to content

Add the support for float16 #38

Description

@ElaineYao

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions