greater

Function Description

Returns the truth value of (x > y) element-wise.

Prototype

1
2
3
greater(
    x, y, name=None
)

Usage

The usage is the same as that of the native TensorFlow greater operator, and broadcast is also supported. For input parameters of specific types (tf.int32 and tf.int64), the operator optimized by SVE is executed. For input parameters of other types, the native greater operator is executed.

For details about the installation method, see cust_op/tf_cpu_op/README.md in the Rec SDK TensorFlow source code.

Restrictions

  • Only 1D tensor input parameters are supported.
  • x and y must have the same input type.