You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
317 B
15 lines
317 B
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 = ...
|