Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Pat (0.2 sec)

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

    // Partially supported in TFLite, treated as passthrough IdentityOp
    def ConvertCheckNumerics : Pat<(TF_CheckNumericsOp $arg, $msg), (TF_IdentityOp $arg)>;
    def ConvertSnapshot : Pat<(TF_SnapshotOp $arg), (TF_IdentityOp $arg)>;
    def ConvertStopGradient : Pat<(TF_StopGradientOp $arg), (TF_IdentityOp $arg)>;
    def ConvertPlaceholderWithDefault : Pat<(TF_PlaceholderWithDefaultOp $arg), (TF_IdentityOp $arg)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
    
    def LegalizeFloor : Pat<(TF_FloorOp $arg), (TFL_FloorOp $arg)>;
    
    def LegalizeLeakyRelu : Pat<(TF_LeakyReluOp $arg, F32Attr:$a),
                                (TFL_LeakyReluOp $arg, $a)>;
    
    def LegalizeLog : Pat<(TF_LogOp $arg), (TFL_LogOp $arg)>;
    
    def LegalizeLog1p : Pat<
      (TF_Log1pOp F32Tensor:$arg),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    def LogicalNotOfGreater : Pat<
      (TF_LogicalNotOp:$src (TF_GreaterOp $arg0, $arg1)),
      (TF_LessEqualOp:$dest $arg0, $arg1), [], [(CopyAttrs $src, $dest)]>;
    
    def LogicalNotOfGreaterEqual : Pat<
      (TF_LogicalNotOp:$src (TF_GreaterEqualOp $arg0, $arg1)),
      (TF_LessOp:$dest $arg0, $arg1), [], [(CopyAttrs $src, $dest)]>;
    
    def LogicalNotOfLess : Pat<(
      TF_LogicalNotOp:$src (TF_LessOp $arg0, $arg1)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

      def : Pat<(pair[0] I1Tensor:$l, I1Tensor:$r), (pair[2] $l, $r)>;
      def : Pat<(pair[1] I1Tensor:$l, I1Tensor:$r, $broadcast_dimensions),
                (pair[2] $l, $r),
                [(IsLegalNumpyRankedBroadcast $l, $r, $broadcast_dimensions)]>;
    }
    
    def : Pat<(MHLO_ShiftRightArithmeticOp $l, $r), (TF_RightShiftOp $l, $r)>;
    def : Pat<(CHLO_BroadcastShiftRightArithmeticOp $l, $r,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

                      ] in {
     def : Pat<(Mapping[0] MHLO_AnyTensor:$input),
               (Mapping[1] $input)>;
    }
    
    def : Pat<(TF_AngleOp $x), (MHLO_Atan2Op (MHLO_ImagOp $x), (MHLO_RealOp $x))>;
    
    // TODO(bixia): Lower with Truncate=True for floating point value conversions.
    def : Pat<(TF_CastOp $arg, ConstBoolAttrFalse), (MHLO_ConvertOp $arg)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.td

    def LiftBatchMatMul : Pat<
      (TF_BatchMatMulV2Op:$res $x, $y, $adj_x, $adj_y, $grad_x, $grad_y),
      (LiftAsTFPartitionedCall<"composite_batch_matmul_fn">
        (ArgumentList $x, $y),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"adj_x"> $adj_x),
          (NamedAttr<"adj_y"> $adj_y))),
      [(IsNotInLiftedFunc $res)], [], (addBenefit 1)>;
    
    def LiftEinsum : Pat<
      (TF_EinsumOp:$res $input, $equation),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  7. pkg/log/scope_test.go

    			pat: timePattern + "\tdebug\ttestScope\tHello",
    		},
    
    		{
    			f:   func() { s.Info("Hello") },
    			pat: timePattern + "\tinfo\ttestScope\tHello",
    		},
    		{
    			f:   func() { s.Infof("Hello") },
    			pat: timePattern + "\tinfo\ttestScope\tHello",
    		},
    		{
    			f:   func() { s.Infof("%s", "Hello") },
    			pat: timePattern + "\tinfo\ttestScope\tHello",
    		},
    
    		{
    			f:   func() { s.Warn("Hello") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td

    // Pattern rules for lifting ops with bias as functions
    //===----------------------------------------------------------------------===//
    
    def LiftDotGeneralWithBiasSameShape : Pat<
      (StableHLO_AddOp:$res
        (StableHLO_DotGeneralOp
            $lhs, $rhs, $dot_dimension_numbers, $precision_config),
        $bias),
      (LiftAsTFXlaCallModule<"composite_dot_general_with_bias_same_shape_fn">
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

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

      "Check if the given einsum op could be converted into a XlaDotV2 op.">;
    
    // Converts inlined Conv2D pattern to TF XlaConvV2 op. This pattern doesn't
    // support non-constant weights.
    def ConvertTFConv2DToXLAConvOp : Pat<
      (TF_Conv2DOp:$conv
        (TF_SubOp (TF_CastOp $input, $truncate), $input_zp),
        (TF_CastOp (TF_IdentityOp $filter), $truncate1),
        $strides, $use_cudnn, $padding, $explicit_padding,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top