Commit 6d5b2211 authored by Sergei Lebedev's avatar Sergei Lebedev Committed by TensorFlower Gardener
Browse files

Replaced 'is 0' and 'is 1' with equality

Small integer caching is an implementation detail of CPython and should
not be relied upon. In general reference equality between small integers
is not guaranteed.

PiperOrigin-RevId: 222145271
parent dcbc3e1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment