提交 b471612b authored 作者: Frederic's avatar Frederic

Add a note

上级 6b7844f2
...@@ -164,6 +164,9 @@ def conv2d(input, ...@@ -164,6 +164,9 @@ def conv2d(input,
GPU. Otherwise, it is the *CorrMM* convolution that will be used GPU. Otherwise, it is the *CorrMM* convolution that will be used
"caffe style convolution". "caffe style convolution".
:note: This is only supported in Theano 0.8 or the development
version until it is released.
""" """
conv_op = AbstractConv2d(imshp=input_shape, conv_op = AbstractConv2d(imshp=input_shape,
......
...@@ -881,8 +881,9 @@ class ConvOp(OpenMPOp): ...@@ -881,8 +881,9 @@ class ConvOp(OpenMPOp):
if self.dx not in (1, 2) or self.dy not in (1, 2): if self.dx not in (1, 2) or self.dy not in (1, 2):
raise NotImplementedError( raise NotImplementedError(
"ERROR: We disable ConvOp.grad now when dx or " "ERROR: We disable ConvOp.grad now when output_mode is not"
"dy are different from 1 and 2, as there is a bug in it.") " 'valid' and dx or dy are greater than 2, as there is a bug"
" in it. See `abstract_conv2d <>`_ for a version that support this.")
all_shape = self.has_all_shape(self.imshp, self.kshp, all_shape = self.has_all_shape(self.imshp, self.kshp,
self.nkern, self.bsize) self.nkern, self.bsize)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论