ThresholdΒΆ
Auto-discovered via Consensus (Score: 2.0)
Abstract Signature:
Threshold(threshold)
JAX (Core)
API:
βStrategy: Macro 'jax.numpy.where({input} > {threshold}, {input}, {value})'
NumPy
API:
βStrategy: Macro 'numpy.where({input} > {threshold}, {input}, {value})'
Keras
API:
keras.activations.thresholdStrategy: Macro 'keras.ops.where({input} > {threshold}, {input}, {value})'
TensorFlow
API:
βStrategy: Macro 'tf.where({input} > {threshold}, {input}, {value})'
Apple MLX
API:
mlx.nn.layers.activations.Step.thresholdStrategy: Macro 'mlx.core.where({input} > {threshold}, {input}, {value})'