Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ConstDoubleValueLessThan (0.25 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

         TFL_AF_None),
      (TFL_HardSwishOp $arg),
      [
        (FloatValueEquals<"3"> $cst_3),
        (FloatValueEquals<"6"> $cst_6),
      ]>;
    
    // Constraint that the attribute value is less than 'n'
    class ConstDoubleValueLessThan<string n> : Constraint<
      CPred<"$0.isa<DenseElementsAttr>() && "
      "$0.cast<DenseElementsAttr>().getNumElements() == 1 && "
      "std::abs(*$0.cast<DenseElementsAttr>().getValues<float>().begin()) < "
      # n>>;
    
    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