Introduce CONSTANT_VARIABLE_FALSE singleton for ConstantVariable(False) (#174759)
Summary:
Same approach as CONSTANT_VARIABLE_NONE and CONSTANT_VARIABLE_TRUE —
VariableTrackers are immutable, so ConstantVariable(False) can be shared
as a singleton.
Authored with Claude.
X-link: https://github.com/pytorch/pytorch/pull/174759
Approved by: https://github.com/mlazos
ghstack dependencies: #174758
Reviewed By: atalman
Differential Revision: D93867419
fbshipit-source-id: 8c830ac76a4c907c8c2c003600b6814944dad5f5