提交 99012195 authored 作者: carriepl's avatar carriepl

Update doctring in gpuarray/dnn.py

上级 c40c1ed3
...@@ -1170,8 +1170,9 @@ class GpuDnnSoftmaxBase(DnnBase): ...@@ -1170,8 +1170,9 @@ class GpuDnnSoftmaxBase(DnnBase):
Parameters Parameters
---------- ----------
algo algo
'fast' or 'accurate' indicating whether computations should be 'fast', 'accurate' or 'log' indicating whether, respectively,
optimized for speed or accuracy respectively. computations should be optimized for speed, for accuracy, or if CuDNN
should rather compute the log-softmax instead.
mode mode
'instance' or 'channel' indicating whether the softmax should be 'instance' or 'channel' indicating whether the softmax should be
computed per image across 'c01' or per spatial location '01' per computed per image across 'c01' or per spatial location '01' per
...@@ -1219,8 +1220,9 @@ class GpuDnnSoftmax(GpuDnnSoftmaxBase): ...@@ -1219,8 +1220,9 @@ class GpuDnnSoftmax(GpuDnnSoftmaxBase):
Op for the cuDNN Softmax. Op for the cuDNN Softmax.
algo algo
'fast' or 'accurate' indicating whether computations should be 'fast', 'accurate' or 'log' indicating whether, respectively,
optimized for speed or accuracy respectively. computations should be optimized for speed, for accuracy, or if CuDNN
should rather compute the log-softmax instead.
mode mode
'instance' or 'channel' indicating whether the softmax should be 'instance' or 'channel' indicating whether the softmax should be
computed per image across 'c01' or per spatial location '01' per computed per image across 'c01' or per spatial location '01' per
...@@ -1253,8 +1255,9 @@ class GpuDnnSoftmaxGrad(GpuDnnSoftmaxBase): ...@@ -1253,8 +1255,9 @@ class GpuDnnSoftmaxGrad(GpuDnnSoftmaxBase):
Parameters Parameters
---------- ----------
algo algo
'fast' or 'accurate' indicating whether computations should be 'fast', 'accurate' or 'log' indicating whether, respectively,
optimized for speed or accuracy respectively. computations should be optimized for speed, for accuracy, or if CuDNN
should rather compute the gradient of the log-softmax instead.
mode mode
'instance' or 'channel' indicating whether the softmax should 'instance' or 'channel' indicating whether the softmax should
be computed per image across 'c01' or per spatial location '01' per be computed per image across 'c01' or per spatial location '01' per
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论