Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FloatOrInt (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // Template parameter `FloatOrInt` must be standard C integer or floating-point
    // types.
    template <typename FloatOrInt>
    int GetLengthOfRange(FloatOrInt start, FloatOrInt limit, FloatOrInt delta) {
      // Refer to the implementation in
      // tensorflow/lite/kernels/range.cc.
      FloatOrInt diff = limit - start;
      if (std::is_integral<FloatOrInt>::value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    // Template parameter `FloatOrInt` must be standard C integer or floating-point
    // types.
    template <typename FloatOrInt>
    int GetLengthOfRange(FloatOrInt start, FloatOrInt limit, FloatOrInt delta) {
      // Refer to the implementation in
      // tensorflow/lite/kernels/range.cc.
      return std::is_integral<FloatOrInt>::value
                 ? ((std::abs(limit - start) + std::abs(delta) - 1) /
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top