Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FloatElementsAttr (1.03 sec)

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

        (BinaryOp (TFL_DepthwiseConv2DOp:$output $input,
                    (Arith_ConstantOp FloatElementsAttr:$filter),
                    (Arith_ConstantOp FloatElementsAttr:$bias),
                    $h_factor, $w_factor, TFL_AF_None, $padding, $stride_h,
                    $stride_w, $multiplier),
                  (Arith_ConstantOp FloatElementsAttr:$value), $act_fn),
        (TFL_DepthwiseConv2DOp $input,
          (BinaryOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/shlo_simplify.td

        CPred<"$0.isa<BlockArgument>() || !llvm::isa<stablehlo::ConstantOp>($0.getDefiningOp())">,
        "Is not a constant.">;
    
    def : Pat<(StableHLO_DivOp $l,
                (StableHLO_ConstantOp:$divisor FloatElementsAttr<32>:$cst)),
              (StableHLO_MulOp $l,
                (StableHLO_DivOp
                  (StableHLO_ConstantOp (CloneF32ElementsAttrWithOnes $cst)),
                  $divisor)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 03:05:20 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    // constant. Floating point division can be ~10x more expensive than a
    // multiplication.
    def RealDivWithConstDivisor : Pat<
      (TF_RealDivOp:$src $arg0, (TF_ConstOp FloatElementsAttr<32>:$value)),
      (TF_MulOp:$dest1 $arg0, (TF_ReciprocalOp:$dest2 (TF_ConstOp $value))),
      [], [(CopyAttrs $src, $dest1), (CopyAttrs $src, $dest2)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top