Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for Pat (0.15 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. pkg/log/default_test.go

    			f:   func() { Info("Hello") },
    			pat: timePattern + "\tinfo\tHello",
    		},
    		{
    			f:   func() { Infof("Hello") },
    			pat: timePattern + "\tinfo\tHello",
    		},
    		{
    			f:   func() { Infof("%s", "Hello") },
    			pat: timePattern + "\tinfo\tHello",
    		},
    		{
    			f:   func() { Warn("Hello") },
    			pat: timePattern + "\twarn\tHello",
    		},
    		{
    			f:   func() { Warnf("Hello") },
    			pat: timePattern + "\twarn\tHello",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_simple.td

    //===----------------------------------------------------------------------===//
    // Pattern rules for lifting ops as functions
    //===----------------------------------------------------------------------===//
    
    def LiftConv : Pat<
      (StableHLO_ConvolutionOp:$res $lhs, $rhs, $window_strides, $padding,
          $lhs_dilation, $rhs_dilation, $window_reversal, $dimension_numbers,
          $feature_group_count, $batch_group_count, $precision_config),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. src/net/http/routing_index_test.go

    	var idx routingIndex
    	for i, pat := range patterns {
    		got := indexConflicts(pat, &idx)
    		want := trueConflicts(pat, patterns[:i])
    		if !slices.Equal(got, want) {
    			t.Fatalf("%q:\ngot  %q\nwant %q", pat, got, want)
    		}
    		idx.addPattern(pat)
    	}
    }
    
    func trueConflicts(pat *pattern, pats []*pattern) []string {
    	var s []string
    	for _, p := range pats {
    		if pat.conflictsWith(p) {
    			s = append(s, p.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top