Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make check_feature_gate_key PT2 compatible (pytorch#3425)
Summary: X-link: facebookresearch/FBGEMM#512 Add a new API for `check_feature_gate_key` that is PT2 compatible. PT2 complains when an op does not take/return a tensor. Thus, `check_feature_gate_key_pt2` (the new API) takes a dummy tensor as an input and returns a boolean tensor as an output. Differential Revision: D66611784
- Loading branch information