To have an example can you write your dummy constant Tensor example with the shape that you want and show me what min and max do you want to extract from that tensor as output?
import tensorflow as tf
tensor = tf.constant([[[1,2,3],[3,4,5]],[[6,7,8],[9,10,11]]])
print(tensor.shape)
print(tensor)