ai-content-maker/.venv/Lib/site-packages/torch/_C/_cudnn.pyi

18 lines
370 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
from enum import Enum
from torch.types import _bool, Tuple
# Defined in torch/csrc/cuda/shared/cudnn.cpp
is_cuda: _bool
def getRuntimeVersion() -> Tuple[int, int, int]: ...
def getCompileVersion() -> Tuple[int, int, int]: ...
def getVersionInt() -> int: ...
class RNNMode(int, Enum):
value: int
rnn_relu = ...
rnn_tanh = ...
lstm = ...
gru = ...