Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValueIsReciprocal (0.28 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

              [(IsZero $pad_interior)]>;
    
    class ValueEquals<string val> : Constraint<CPred<"ValueEquals($0, " # val # ")">>;
    def ValueGreaterThanZero : Constraint<CPred<"ValueGreaterThanZero($0)">>;
    def ValueIsReciprocal : Constraint<CPred<"ValueIsReciprocal($0, $1)">>;
    def TensorIsSign : Constraint<CPred<"TensorIsSign($_builder, $0, $1)">>;
    def SameValue : Constraint<CPred<"$0 == $1">>;
    def FloatOrDefaultCompare : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    }
    
    bool IsDenseSplatFloatAttr(ElementsAttr float_or_int) {
      return mlir::isa<SplatElementsAttr>(float_or_int) &&
             mlir::isa<DenseFPElementsAttr>(float_or_int);
    }
    
    bool ValueIsReciprocal(ElementsAttr float_or_int, ElementsAttr rhs) {
      if (IsDenseSplatFloatAttr(float_or_int) &&
          IsDenseSplatFloatAttr(float_or_int)) {
        return (mlir::cast<SplatElementsAttr>(float_or_int)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top