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

Update the online doc about max, min,... function.

上级 054d7691
...@@ -655,7 +655,26 @@ Reductions ...@@ -655,7 +655,26 @@ Reductions
:Returns: the maximum value along a given axis :Returns: the maximum value along a given axis
:note: see maximum for elemwise max :note: see maximum for elemwise max
If axis=None, then axis is assumed to be ndim(x)-1 if axis=None, Theano 0.5rc1 or later: max over the flattened tensor (like numpy)
older: then axis is assumed to be ndim(x)-1
.. function:: argmax(x, axis=None)
:Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis along which to compute the maximum
:Returns: the index of the maximum value along a given axis
if axis=None, Theano 0.5rc1 or later: argmax over the flattened tensor (like numpy)
older: then axis is assumed to be ndim(x)-1
.. function:: max_and_argmax(x, axis=None)
:Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis along which to compute the maximum
:Returns: the maxium value along a given axis and its index.
if axis=None, Theano 0.5rc1 or later: max_and_argmax over the flattened tensor (like numpy)
older: then axis is assumed to be ndim(x)-1
.. function:: min(x, axis=None) .. function:: min(x, axis=None)
...@@ -664,7 +683,17 @@ Reductions ...@@ -664,7 +683,17 @@ Reductions
:Returns: the minimum value along a given axis :Returns: the minimum value along a given axis
:note: see miminum for elemwise min :note: see miminum for elemwise min
if axis=None, then axis is assumed to be ndim(x)-1 if axis=None, Theano 0.5rc1 or later: min over the flattened tensor (like numpy)
older: then axis is assumed to be ndim(x)-1
.. function:: argmin(x, axis=None)
:Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis along which to compute the minimum
:Returns: the index of the minimum value along a given axis
if axis=None, Theano 0.5rc1 or later: argmin over the flattened tensor (like numpy)
older: then axis is assumed to be ndim(x)-1
.. function:: sum(x, axis=None) .. function:: sum(x, axis=None)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论