Closed dpressel closed 2 years ago
Recent versions of PyTorch (after 1.7.1) do not support the boolean comparison on export. It works if we change the definition of MASK_FALSE from a boolean to an int (0)
MASK_FALSE
0
Recent versions of PyTorch (after 1.7.1) do not support the boolean comparison on export. It works if we change the definition of
MASK_FALSE
from a boolean to an int (0
)