提交 6c5609e6 authored 作者: Frederic Bastien's avatar Frederic Bastien

added doc about maximum and minimum

上级 056f4fa1
...@@ -628,6 +628,7 @@ Reductions ...@@ -628,6 +628,7 @@ Reductions
:Parameter: *x* - symbolic Tensor (or compatible) :Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis along which to compute the maximum :Parameter: *axis* - axis along which to compute the maximum
:Returns: the maximum value along a given axis :Returns: the maximum value along a given axis
:note: see maximum for elemwise max
If axis=None, then axis is assumed to be ndim(x)-1 If axis=None, then axis is assumed to be ndim(x)-1
...@@ -636,6 +637,7 @@ Reductions ...@@ -636,6 +637,7 @@ Reductions
:Parameter: *x* - symbolic Tensor (or compatible) :Parameter: *x* - symbolic Tensor (or compatible)
:Parameter: *axis* - axis along which to compute the minimum :Parameter: *axis* - axis along which to compute the minimum
:Returns: the minimum value along a given axis :Returns: the minimum value along a given axis
:note: see miminum for elemwise min
if axis=None, then axis is assumed to be ndim(x)-1 if axis=None, then axis is assumed to be ndim(x)-1
...@@ -920,6 +922,14 @@ Mathematical ...@@ -920,6 +922,14 @@ Mathematical
Returns a variable representing the exponential of a, ie e^a. Returns a variable representing the exponential of a, ie e^a.
.. function:: maximum(a,b)
Returns a variable representing the maximum element by element of a and b
.. function:: minimum(a,b)
Returns a variable representing the minimum element by element of a and b
.. function:: neg(a) .. function:: neg(a)
Returns a variable representing the negation of `a` (also ``-a``). Returns a variable representing the negation of `a` (also ``-a``).
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论