Threshold

Input

x:
  • Required: yes
  • Type: float16, float32
  • Description: Compares the input with a threshold; outputs 1 if the input is greater than the threshold, and 0 otherwise.
  • Restriction: Must be float16.

Attribute

  • threshold:
    • Required: no
    • Type: float
    • Description: result, either 0 (default) or 1
    • Restriction: none

Output

y:
  • Required: yes
  • Type: float16, float32
  • Description: Compares the input with a threshold; outputs 1 if the input is greater than the threshold, and 0 otherwise.
  • Restriction: Must be float16.