MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / min

Function min

tensorflow/python/keras/backend.py:1865–1879  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1863
1864@keras_export('keras.backend.min')
1865def 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')

Callers 15

on_epoch_endMethod · 0.70
__init__Method · 0.50
__init__Method · 0.50
bin2bin.pyFile · 0.50
LookupSegmentInternalFunction · 0.50
OSSRandomAccessFileMethod · 0.50
ReadMethod · 0.50
TESTFunction · 0.50
QuantizeWeightsFunction · 0.50

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.40
linear_decayFunction · 0.40
linear_decayFunction · 0.40
_fnMethod · 0.40
_testDynamicDecodeRNNMethod · 0.40
_testDecodeRNNMethod · 0.40
TEST_FFunction · 0.40
process_and_validateMethod · 0.40
TESTFunction · 0.40