Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Tf_SubOp (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

          (TF_MulOp:$alpha
            $lr,
            (TF_DivOp
              (TF_SqrtOp (TF_SubOp $one, $beta2_power)),
              (TF_SubOp $one, $beta1_power)
            )
          ),
          (TF_AddV2Op:$new_m
            (TF_MulOp $beta1, (CreateTFReadVariableOp $src_op, $grad, $m_resource)),
            (TF_MulOp (TF_SubOp $one, $beta1), $grad)
          ),
          (TF_AddV2Op:$new_v
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    def LowerSquaredDifferenceOpOnRealTensors : Pat<
      (TF_SquaredDifferenceOp RealTensor: $lhs, RealTensor:$rhs),
      (TF_SquareOp (TF_SubOp $lhs, $rhs))>;
    
    def LowerSquaredDifferenceOpOneComplexTensors : Pat<
      (TF_SquaredDifferenceOp ComplexTensor: $lhs, ComplexTensor:$rhs),
      (TF_MulOp (TF_SubOp:$diff $lhs, $rhs), (TF_ConjOp $diff))>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td

    // Converts inlined MatMul pattern to TF XlaDotV2 op. This pattern supports
    // non-constant weights.
    def ConvertTFMatMulWithTwoInputTensorsToXLADotV2Op : Pat<
      (TF_MatMulOp:$matmul
        (TF_SubOp (TF_CastOp $input, $truncate1), $input_zp),
        (TF_SubOp (TF_CastOp $weight, $truncate2), $weight_zp),
        $transpose_a, $transpose_b, $grad_a, $grad_b),
      (CreateXlaDotV2OpFromTfMatMulOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

        (TF_SubOp $beta, (TF_MulOp $m, $rsqrt)))>;
    def ConvertBatchNormWithGlobalNormalization_2 : Pat<
      (TF_BatchNormWithGlobalNormalizationOp
        $t, $m, $v, $beta, $gamma, F32Attr:$variance_epsilon, ConstBoolAttrTrue:$scale_after_normalization),
      (TF_AddOp
        (TF_MulOp $t, (TF_MulOp:$mul (TF_RsqrtOp (TF_AddOp $v, (TF_ConstOp $variance_epsilon))), $gamma)),
        (TF_SubOp $beta, (TF_MulOp $m, $mul)))>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    // Where: cst = cst2 - cst1
    foreach BinaryOpPair = [[TF_AddV2Op, TF_SubOp],
                         [TF_SubOp, TF_AddV2Op]] in {
      def OptimizeConsecutive#BinaryOpPair[0]#BinaryOpPair[1] : Pat<
        (BinaryOpPair[0]
          (BinaryOpPair[1] $x, (TF_ConstOp:$cst1 $cst1_value)),
          (TF_ConstOp:$cst2 $cst2_value)),
        (BinaryOpPair[0]
          $x, (TF_SubOp  $cst2, $cst1))>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    //===----------------------------------------------------------------------===//
    
    def AddV2OfNegLeft : Pat<
      (TF_AddV2Op:$src (TF_NegOp $arg0), $arg1), (TF_SubOp:$dest $arg1, $arg0),
      [], [(CopyAttrs $src, $dest)]>;
    
    def AddV2OfNegRight : Pat<
      (TF_AddV2Op:$src $arg0, (TF_NegOp $arg1)), (TF_SubOp:$dest $arg0, $arg1), [],
      [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

                $x,
                (TF_MulOp:$multiplier
                    $scale,
                    (TF_RsqrtOp
                        (TF_AddV2Op $variance,
                                  (TF_ConstOp $epsilon))))),
            (TF_SubOp $offset, (TF_MulOp $mean, $multiplier))),
         // We already guaranteed that the last five results have no use so it does
         // not matter what value we provide here for replacement.
         /*batch_mean=*/(replaceWithValue $x),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi

    class Tf_NotEqualOp:
        def __init__(self, *args, **kwargs) -> None: ...
        def create(self, arg0: Location, arg1: Value, arg2: Value) -> Operation: ...
    
    class Tf_SubOp:
        def __init__(self, *args, **kwargs) -> None: ...
        def create(self, arg0: Location, arg1: Value, arg2: Value) -> Operation: ...
    
    class Type:
        def __init__(self, *args, **kwargs) -> None: ...
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 17:10:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

                             [TF_PolygammaOp, CHLO_BroadcastPolygammaOp],
                             [TF_PowOp, CHLO_BroadcastPowOp],
                             [TF_RealDivOp, CHLO_BroadcastDivOp],
                             [TF_SubOp, CHLO_BroadcastSubOp],
                             [TF_ZetaOp, CHLO_BroadcastZetaOp]] in
      def : DirectBinaryPat<fromToBinPair[0], fromToBinPair[1]>;
    
    def LowerRightShiftSigned :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

                             [MHLO_MulOp, CHLO_BroadcastMulOp, TF_MulOp],
                             [MHLO_PowOp, CHLO_BroadcastPowOp, TF_PowOp],
                             [MHLO_SubtractOp, CHLO_BroadcastSubOp, TF_SubOp],
                             [MHLO_Atan2Op, CHLO_BroadcastAtan2Op, TF_Atan2Op]] in {
      def : Pat<(fromToBinPair[0]:$result $l, $r),
                (fromToBinPair[2] $l, $r),
                [(IsNotWithinScatterRegion $result)]>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top