Ali_Kasim:

tf.math.reduce_max , tf.math.reduce_min , tf.math.maximum or tf.math.minimum
all these TF functions don’t return the maximum/minimum value in each feature map, however their functionality is based on specific axis which is somehow different to what i need.


Can you explain what operation you want to do?



 Ali_Kasim:

For TF.numpy ops:
As i am new to tensorflow and keras, In fact, i just knew about such type of TF.
and after going through TF.numpy ops documentation , it seems there is marginal differences with regular TF. i don’t know whether i can use TF.numpy ops to build models instead of regular TF.


If you like the numpy style API you can use it. See:

  
      

      keras.io
  

  
    

Keras documentation: Writing Keras Models With TensorFlow NumPy 2