提交 c9b34871 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

doc

上级 66f23bc6
...@@ -2409,8 +2409,11 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp): ...@@ -2409,8 +2409,11 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp):
""" """
Implement IncSubtensor on the gpu. Implement IncSubtensor on the gpu.
Note: the optimization to make this inplace is in tensor/opt. Note: The optimization to make this inplace is in tensor/opt.
the same optimization handles IncSubtensor and GpuIncSubtensor. The same optimization handles IncSubtensor and GpuIncSubtensor.
This Op has c_code too; it inherits tensor.IncSubtensor's c_code.
The helper methods like do_type_checking, copy_of_x, etc. specialize
the c_code for this Op.
""" """
def make_node(self, x, y, *inputs): def make_node(self, x, y, *inputs):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论