floormod

Function Description

Returns the element-wise remainder of a division operation.

Prototype

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

Usage

The usage is the same as that of the native TensorFlow floormod operator, and broadcast is also supported. For input parameters of specific types (tf.float32 and tf.float64), the operator optimized by SVE is executed. For input parameters of other types, the native floormod 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.