Hi,
You might want to ask on the Tensorflow question board. More people there are familiar with it and will be able to help you I think.
But checking the tf doc, reduce_max looks like what you’re looking for no? https://www.tensorflow.org/api_docs/python/tf/math/reduce_max 30