Minimum value in a tensor. Arguments: x: A tensor or variable. axis: An integer, the axis to find minimum values. keepdims: A boolean, whether to keep the dimensions or not. If `keepdims` is `False`, the rank of the tensor is reduced by 1. If `keepdims` is `T
(x, axis=None, keepdims=False)
| 1863 | |
| 1864 | @keras_export('keras.backend.min') |
| 1865 | def min(x, axis=None, keepdims=False): |
| 1866 | """Minimum value in a tensor. |
| 1867 | |
| 1868 | Arguments: |
| 1869 | x: A tensor or variable. |
| 1870 | axis: An integer, the axis to find minimum values. |
| 1871 | keepdims: A boolean, whether to keep the dimensions or not. |
| 1872 | If `keepdims` is `False`, the rank of the tensor is reduced |
| 1873 | by 1. If `keepdims` is `True`, |
| 1874 | the reduced dimension is retained with length 1. |
| 1875 | |
| 1876 | Returns: |
| 1877 | A tensor with minimum values of `x`. |
| 1878 | """ |
| 1879 | return math_ops.reduce_min(x, axis, keepdims) |
| 1880 | |
| 1881 | |
| 1882 | @keras_export('keras.backend.sum') |
no outgoing calls