Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Pat (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.td

      "$_builder.getStringAttr("# values #")">;
    
    def LegalizeTensorListReserve : Pat<(TF_TensorListReserveOp:$tf_op $shape, $num_elements),
        (TFL_CustomOp (Size2InputRange $shape, $num_elements),
       (CreateStringAttr<"\"TensorListReserve\"">), (CustomOptions $tf_op))>;
    
    def LegalizeTensorListStack : Pat<(TF_TensorListStackOp $input, $shape, $unused_num_elements),
        (TFL_CustomOp (Size2InputRange $input, $shape),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 18 07:12:51 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixAndSuffixPatternStepTest.groovy

    
        @Issue("GRADLE-3418")
        def "doesn't match if pre and suf are the same"() {
            def step = new HasPrefixAndSuffixPatternStep("pat", "pat", CASE_SENSITIVE)
    
            expect:
            step.matches("patpat")
            step.matches("pat-pat")
            !step.matches("")
            !step.matches("pat")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

        [(IsNchwLayoutOp $attrs)]>;
    
    def LegalizeCompositeExactAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrFalse),
            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td

    def RemoveConstIdentityOp : Pat<
      (TF_IdentityOp (TF_ConstOp $input)),
      (TF_ConstOp $input)>;
    
    // Standardizes the Max and Min ops by moving constant value to rhs. This will
    // make it easier to create Relu1 matching patterns.
    def SwapMaximumOperands : Pat<
      (TF_MaximumOp (TF_ConstOp:$cst $cst_val), $input),
      (TF_MaximumOp $input, $cst)>;
    
    def SwapMinimumOperands : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.td

    def LiftGather : Pat<
      (TF_GatherV2Op:$res $params, $indices, $axis, $batch_dims),
      (LiftAsTFPartitionedCall<"composite_gather_fn">
        (ArgumentList $params, $indices, $axis),
        (ResultList $res),
        (NamedAttributeList
          (NamedAttr<"batch_dims"> $batch_dims))),
      [(IsNotInLiftedFunc $res), (IsConstTensor $params)], [], (addBenefit 1)>;
    
    def LiftConv3D : Pat<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

    def ConvertArithConstToTfConst : Pat<
      (Arith_ConstantOp:$res DenseElementsAttr:$value),
      (TF_ConstOp $value),
      [(AnyStaticShapeTensor $res)]>;
    
    // Remove CheckNumerics op
    def RemoveCheckNumerics : Pat<
      (TF_CheckNumericsOp $arg, $msg),
      (replaceWithValue $arg)>;
    
    // Remove StopGradient op
    def RemoveStopGradient : Pat<
      (TF_StopGradientOp $arg),
      (replaceWithValue $arg)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. src/net/http/routing_index.go

    }
    
    func (idx *routingIndex) addPattern(pat *pattern) {
    	if pat.lastSegment().multi {
    		idx.multis = append(idx.multis, pat)
    	} else {
    		if idx.segments == nil {
    			idx.segments = map[routingIndexKey][]*pattern{}
    		}
    		for pos, seg := range pat.segments {
    			key := routingIndexKey{pos: pos, s: ""}
    			if !seg.wild {
    				key.s = seg.s
    			}
    			idx.segments[key] = append(idx.segments[key], pat)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top