keras/src/legacy/layers.py/ThresholdedReLU/call
class ThresholdedReLU:    def call(self, inputs):
        dtype = self.compute_dtype
        return inputs * tf.cast(tf.greater(inputs, self.theta), dtype)