提交 88716ac9 authored 作者: Iban Harlouchet's avatar Iban Harlouchet

Fixed Returns.

上级 a9a1db3b
......@@ -1020,6 +1020,7 @@ class GpuCAReduce(GpuOp):
Returns
-------
str
C code to reduce left and right, assigning the result to left.
"""
......@@ -3223,6 +3224,7 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp):
Returns
-------
str
C code expression to make a copy of x.
Notes
......@@ -3293,6 +3295,7 @@ class GpuIncSubtensor(tensor.IncSubtensor, GpuOp):
Returns
-------
str
A C code expression to copy source into view, and 0 on success.
"""
......
......@@ -684,23 +684,21 @@ def sparse_block_dot_SS(W, h, inputIdx, b, outputIdx):
Parameters
----------
var
Shape, comment.
W
(iBlocks, oBlocks, iSize, oSize), weight matrix.
h
(batch, iWin, iSize), input from lower layer (sparse).
inputIdx
(batch, iWin), indexes of the input blocks.
b
(oBlocks, oSize), bias vector.
outputIdx
(batch, oWin), indexes of the output blocks.
W : (iBlocks, oBlocks, iSize, oSize)
Weight matrix.
h : (batch, iWin, iSize)
Input from lower layer (sparse).
inputIdx : (batch, iWin)
Indexes of the input blocks.
b : (oBlocks, oSize)
Bias vector.
outputIdx : (batch, oWin)
Indexes of the output blocks.
Returns
-------
(batch, oWin, oSize), dot(W[i, j], h[i]) + b[j]
but b[j] is only added once
(batch, oWin, oSize)
dot(W[i, j], h[i]) + b[j], but b[j] is only added once.
Notes
-----
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论