体验新版 GitCode,发现更多精彩内容 >>
Created by: cclauss
Identity is not the same thing as equality in Python.
$ python
>>> self_dtype = "float" >>> self_dtype += "16" >>> self_dtype == "float16" True >>> self_dtype is "float16" False