Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,272 for pattern1 (0.35 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      }
    
      return false;
    }
    
    // Compute heavy patterns should be quantized for both server and ODML targets.
    // Most patterns here are useful when quantized since they are compute heavy
    // or memory bound.
    void PopulateCommonQuantizationPatterns(
        MLIRContext& ctx, RewritePatternSet& patterns,
        const bool enable_per_channel_quantized_weight) {
      patterns.add<XlaCallModuleOpToCallOp<QuantizeConvolutionOpPattern>>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

       (HasEqualElementSize<[-1], [0]> $conv_out, $add_rhs)], [], (addBenefit -1)>;
    
    // Convert conv+sub+mul pattern to conv+mul+add.
    // (conv - sub) * mul -> conv * mul + (-sub) * mul
    //
    // This is needed to support Conv+BatchNorm pattern from Jax models converted
    // using jax2tf w/o native serialization. Note that Jax2tf patterns always
    // extend bias shapes to a rank of 4, e.g. 1x1x1x5.
    def ConvertSubMulToMulAdd : Pat<
      (TF_MulOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. pkg/bootstrap/instance_test.go

    	var patterns []string
    	for _, pattern := range got.GetPatterns() {
    		var pat string
    		switch typ {
    		case "prefix":
    			pat = pattern.GetPrefix()
    		case "suffix":
    			pat = pattern.GetSuffix()
    		case "regexp":
    			// Migration tracked in https://github.com/istio/istio/issues/17127
    			//nolint: staticcheck
    			pat = pattern.GetSafeRegex().GetRegex()
    		}
    
    		if pat != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. src/internal/bisect/bisect.go

    			}
    			bits = 0
    		case '+', '-':
    			if c == '+' && result == false {
    				// Have already seen a -. Should be - from here on.
    				return nil, &parseError{"invalid pattern syntax (+ after -): " + pattern}
    			}
    			if i > 0 {
    				n := (i - start) * wid
    				if n > 64 {
    					return nil, &parseError{"pattern bits too long: " + pattern}
    				}
    				if n <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    /// Converts the provided Operation as well as all nested operations into HLO
    /// dialect using the conversion patterns registered by the HLO dialect. When
    /// allow_partial_conversion is false, emits an error if there is any operation
    /// that can't be legalized.
    /// When `tf2xla_fallback_device_type` is not `None`, also uses legalization
    /// patterns from TF2XLA fallback for provided device type (see
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

    // Pattern to fuse redundant tanspose op
    def FoldDoubleTranspose : Pat<
      (TF_TransposeOp
        (TF_TransposeOp:$transpose_out1 $input, (Arith_ConstantOp:$permutation1 $p1)),
        (Arith_ConstantOp:$permutation2 $p2)),
      (TF_TransposeOp $input,
        (Arith_ConstantOp (RemapPermutation $permutation1, $permutation2))),
      [(HasOneUse $transpose_out1)]>;
    
    // Pattern to fuse trivial reshape op into transpose op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

    import spock.lang.Issue
    
    class ConfigurationCacheFileTreeIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        @Issue('https://github.com/gradle/gradle/issues/19780')
        def "filter predicates and matching patterns are evaluated lazily"() {
            given:
            buildFile """
                abstract class PrintInputs extends DefaultTask {
    
                    @InputFiles
                    abstract ConfigurableFileCollection getInputFiles()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            Pattern[] patterns = (Pattern[]) propMap.get(CRAWLER_METADATA_CONTENT_EXCLUDES);
            if (patterns == null) {
                patterns = split(getCrawlerMetadataContentExcludes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).map(Pattern::compile).toArray(n -> new Pattern[n]));
                propMap.put(CRAWLER_METADATA_CONTENT_EXCLUDES, patterns);
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  9. pom.xml

    							<licenseFamilyName>GNU Lesser General Public License</licenseFamilyName>
    							<notes />
    							<patterns>
    								<pattern>This library is free software; you can redistribute it</pattern>
    								<pattern>GNU Lesser General Public License</pattern>
    							</patterns>
    						</license>
    					</licenses>
    					<licenseFamilies>
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 26 04:00:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tpu_model_to_cpu.cc

      MLIRContext* ctx = &getContext();
      RewritePatternSet patterns(ctx);
      ModuleOp module_op = getOperation();
    
      patterns.add<ReplaceTpuPartitionedCallOpWithPartitionedCallOp,
                   ReplaceBatchFunctionOpToPartitionedCallOp>(ctx);
      patterns.add<RemoveTpuOp>(ctx);
      patterns.add<RemoveIdentity>(ctx);
    
      if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top