提交 13d7543b authored 作者: Frederic Bastien's avatar Frederic Bastien

pep8

上级 28129eeb
...@@ -354,7 +354,6 @@ class GpuDnnConv(DnnBase, COp): ...@@ -354,7 +354,6 @@ class GpuDnnConv(DnnBase, COp):
if self.inplace: if self.inplace:
self.destroy_map = {0: [2]} self.destroy_map = {0: [2]}
if version() < (5000, 5000): if version() < (5000, 5000):
if self.algo == 'winograd': if self.algo == 'winograd':
raise RuntimeError("cuDNN winograd convolution requires " raise RuntimeError("cuDNN winograd convolution requires "
...@@ -377,7 +376,6 @@ class GpuDnnConv(DnnBase, COp): ...@@ -377,7 +376,6 @@ class GpuDnnConv(DnnBase, COp):
# We need to find the new file name and reload c code. # We need to find the new file name and reload c code.
self.__init__(**self._props_dict()) self.__init__(**self._props_dict())
def get_op_params(self): def get_op_params(self):
if self.inplace: if self.inplace:
inpl_def = [('CONV_INPLACE', '1')] inpl_def = [('CONV_INPLACE', '1')]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论