In Python, isinstance can be used with a single element or a tuple of elements. torch.jit.isinstance doesn't consider the case that we want to compare against a tuple of elements. Traceback (most ...
I don't know if I'm running into a bug or I'm just not doing things right. I was able to minimize my problem to this using Python 3.5 and mypy 0.660: from abc import ABC, abstractmethod from typing ...