3 ms·
TypeAlias is only used once, you can open sampling.py and remove the import on line 10 and the usage on line 14: from typing import Optional, Callable fro
by personjerry 4y ago
TypeAlias is only used once, you can open sampling.py and remove the import on line 10 and the usage on line 14:
from typing import Optional, Callable
from . import utils
TensorOperator = Callable[[Tensor], Tensor]