(self, image, label)
return tf.greater_equal(size, self._threshold)
The minimum image dimension has to be larger than the threshold.
The minimum image dimension has to be larger than the threshold.
The minimum image dimension has to be larger than the threshold .
def _train_filter_fn(self, image, label):
    """The minimum image dimension has to be larger than the threshold."""
    del label
    size = tf.math.reduce_min(tf.shape(image)[:2])
    return tf.greater_equal(size, self._threshold)
def _train_filter_fn ( self , image , label ) : del label size = tf . math . reduce_min ( tf . shape ( image ) [ : 2 ] ) return tf . greater_equal ( size , self . _threshold )