Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ConstF32Attr (0.11 sec)

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

    def LegalizeSlice : Pat<(TF_SliceOp $input, $begin, $size),
                            (TFL_SliceOp $input, $begin, $size)>;
    def LegalizeSoftmax : Pat<(TF_SoftmaxOp $arg),
                              (TFL_SoftmaxOp $arg, ConstF32Attr<"1.0">)>;
    def LegalizeSoftPlus : Pat<(TF_SoftplusOp F32Tensor:$arg0),
        (TFL_LogOp (TFL_AddOp (TFL_ExpOp $arg0),
                    (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "1.0f">),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      (TFL_DivOp (TFL_ExpOp:$exp $input),
                 (TFL_SumOp:$sum $sum_input, (Arith_ConstantOp I32ElementsAttr: $axes),
                                 ConstBoolAttrTrue), TFL_AF_None),
      (TFL_SoftmaxOp $input, ConstF32Attr<"1.0">),
      [(IsSame $exp, $sum_input),
       (AxesIsLastDimension $axes, $sum_input),
       (HasTwoUse $exp),
       (HasOneUse $sum)]>;
    
    // Convert softmax(x-max(x)) into softmax(x) as the softmax op already deals
    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