Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetLengthOfRange (0.14 sec)

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

          assert(limit <= (uint64_t)INT_MAX);
          assert(delta <= (uint64_t)INT_MAX);
          num_elements =
              GetLengthOfRange(static_cast<int>(start), static_cast<int>(limit),
                               static_cast<int>(delta));
        } else {
          num_elements = GetLengthOfRange(start_attr.getInt(), limit_attr.getInt(),
                                          delta_attr.getInt());
        }
    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

    // Compute the length of a range (1-D) tensor given `start`, `limit`, `delta`.
    // 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
    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