Hello everyone
I would like to ask how can I implement the following Tensorflow functions in Pytorch

tf.greater_equal(iou, T)
tf.less(iou, T)
sum_FP = tf.reduce_sum(FP)
imgs = tf.expand_dims(imgs_ph, 3)  #### [batch_size, 480, 640, 1]

Thanks for your help!
Warm regards