team-10/venv/Lib/site-packages/torch/_C/_cudnn.pyi
2025-08-02 02:00:33 +02:00

14 lines
317 B
Python

from enum import IntEnum
# 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(IntEnum):
rnn_relu = ...
rnn_tanh = ...
lstm = ...
gru = ...