array_reduce_max
ArrayReduceMaxLayer ยค
ArrayReduceMaxLayer(
name=None,
input_dtype=None,
output_dtype=None,
default_value=0.0,
**kwargs
)
Bases: BaseLayer
Reduces the last dimension of a tensor by taking the maximum.
Input: (..., N) Output: (...)
NaN values in the result are replaced with the configured default_value.
Source code in src/kamae/keras/core/layers/array_reduce_max.py
40 41 42 43 44 45 46 47 48 49 50 51 | |