提交 78328b7f authored 作者: notoraptor's avatar notoraptor

Remove useless comment.

上级 90f94595
...@@ -295,8 +295,7 @@ class GpuKernelBase(object): ...@@ -295,8 +295,7 @@ class GpuKernelBase(object):
def get_params(self, node): def get_params(self, node):
# Default implementation, suitable for most sub-classes. # Default implementation, suitable for most sub-classes.
# To be necessarly overridden if a subclass uses a ParamsType # To be necessarly overridden in a subclass that uses a ParamsType.
# (see GpuCumOp, GpuAdvancedIncSubtensor1_dev20 for examples).
assert (self.params_type is gpu_context_type and assert (self.params_type is gpu_context_type and
node.inputs and node.inputs and
isinstance(node.inputs[0].type, GpuArrayType)) isinstance(node.inputs[0].type, GpuArrayType))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论