lightaime / deep_gcns

Tensorflow Repo for "DeepGCNs: Can GCNs Go as Deep as CNNs?" ICCV2019 Oral https://www.deepgcns.org
MIT License
630 stars 89 forks source link

Use ==/!= to compare str, bytes, and int literals #5

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

Identity is not the same thing as equality in Python.

$ python

>>> layer_name = 'knn_'
>>> layer_name += 'graph'
>>> layer_name == 'knn_graph'
True
>>> layer_name is 'knn_graph'
False