This commit is contained in:
Moksh Jain 2019-09-21 13:16:29 +00:00
Родитель dff1c0e411
Коммит a8df9616cf
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -324,8 +324,6 @@ class FastGRNNCUDACell(RNNCell):
raise Exception('FastGRNNCUDACell is supported only on GPU devices.') raise Exception('FastGRNNCUDACell is supported only on GPU devices.')
self._input_size = input_size self._input_size = input_size
self._hidden_size = hidden_size self._hidden_size = hidden_size
self._gate_non_linearity = gate_non_linearity
self._update_non_linearity = update_non_linearity
self._zetaInit = zetaInit self._zetaInit = zetaInit
self._nuInit = nuInit self._nuInit = nuInit
self._name = name self._name = name

Просмотреть файл

@ -4,7 +4,7 @@ from torch.utils.cpp_extension import BuildExtension, CUDAExtension
from edgeml_pytorch.utils import findCUDA from edgeml_pytorch.utils import findCUDA
if findCUDA() is not None: if findCUDA() is not None:
setup( setuptools.setup(
name='fastgrnn_cuda', name='fastgrnn_cuda',
ext_modules=[ ext_modules=[
CUDAExtension('fastgrnn_cuda', [ CUDAExtension('fastgrnn_cuda', [