Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInfinity (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

                                          FloatAttr::get(float_type, value)));
        };
    
        Value one_half = create_const_op(0.5);
        Value one = create_const_op(1.0);
        Value infinity = create_const_op(std::numeric_limits<double>::infinity());
        Value pi = create_const_op(M_PI);
        Value log_pi = create_const_op(std::log(M_PI));
        Value log_sqrt_two_pi = create_const_op((std::log(2) + std::log(M_PI)) / 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "$0.cast<DenseElementsAttr>().getNumElements() == 1 && "
      "std::abs(*$0.cast<DenseElementsAttr>().getValues<float>().begin()) < "
      # n>>;
    
    // Constraint that the attribute value is negative infinity or negative largest.
    // We use both -inf & flt_min due to the forward compatibility.
    def ConstAPFloatNegLargestOrNegInfinity : Constraint<CPred<
      "$0.isa<DenseElementsAttr>() && "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top