less

Function Description

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

Prototype

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

Usage

The usage is the same as that of the native TensorFlow less 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 less 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.
  • The type of x is the same as that of the argument.