Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for set_regex (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

      spec.mutable_matcher()->mutable_function_name()->set_regex(
          preset.enable_full_int_quantization() ? ".*"
                                                : "^.*(dot_general|gather).*");
      spec.mutable_method()->mutable_static_range_ptq();
    
      return spec;
    }
    
    QuantizationSpec GetDefaultWeightOnlyPtqSpec() {
      QuantizationSpec spec{};
      spec.mutable_matcher()->mutable_function_name()->set_regex(
          "^.*(conv|dot_general).*");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

          true);
    
      QuantizationSpec& user_provided_spec = *config.mutable_specs()->add_specs();
      user_provided_spec.mutable_matcher()->mutable_function_name()->set_regex(
          "composite_dot_general_fn_1");
      user_provided_spec.mutable_method()->mutable_no_quantization();
    
      // Test that the expanded `QuantizationSpec`s are populated first and then
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsentity/BsPathMapping.java

            registerModifiedProperty("processType");
            this.processType = value;
        }
    
        public String getRegex() {
            checkSpecifiedProperty("regex");
            return convertEmptyToNull(regex);
        }
    
        public void setRegex(String value) {
            registerModifiedProperty("regex");
            this.regex = value;
        }
    
        public String getReplacement() {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/PathMappingDbm.java

                    "processType");
            setupEpg(_epgMap, et -> ((PathMapping) et).getRegex(), (et, vl) -> ((PathMapping) et).setRegex(DfTypeUtil.toString(vl)), "regex");
            setupEpg(_epgMap, et -> ((PathMapping) et).getReplacement(), (et, vl) -> ((PathMapping) et).setReplacement(DfTypeUtil.toString(vl)),
                    "replacement");
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
            final PathMapping pathMapping = new PathMapping();
            pathMapping.setRegex("file:///home/");
            pathMapping.setReplacement("http://localhost/");
            pathMappingList.add(pathMapping);
    
            pathMappingHelper.setPathMappingList(sessionId, pathMappingList);
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                });
                if (logger.isDebugEnabled()) {
                    cachedPathMappingList.forEach(e -> {
                        logger.debug("path mapping: {}: {} -> {}", e.getId(), e.getRegex(), e.getReplacement());
                    });
                }
                return cachedPathMappingList.size();
            } catch (final ComponentNotFoundException e) {
                if (logger.isDebugEnabled()) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. hack/boilerplate/boilerplate.py

                outfiles.append(pathname)
        return outfiles
    
    
    def get_dates():
        years = datetime.datetime.now().year
        return "(%s)" % "|".join(str(year) for year in range(2014, years + 1))
    
    
    def get_regexs():
        regexs = {}
        # Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing
        regexs["year"] = re.compile("YEAR")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java

            asDocMeta().version(version);
        }
    
        public String process(final PathMappingHelper pathMappingHelper, final String input) {
            if (regexPattern == null) {
                regexPattern = Pattern.compile(getRegex());
            }
            final Matcher matcher = regexPattern.matcher(input);
            if (matcher.find()) {
                if (pathMapperFunc == null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. pilot/pkg/model/virtualservice.go

    	}
    	// If root regex match is specified, delegate should not have other matches.
    	if root.GetRegex() != "" {
    		if leaf.GetRegex() != "" || leaf.GetPrefix() != "" || leaf.GetExact() != "" {
    			return true
    		}
    	}
    	// If delegate regex match is specified, root should not have other matches.
    	if leaf.GetRegex() != "" {
    		if root.GetRegex() != "" || root.GetPrefix() != "" || root.GetExact() != "" {
    			return true
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setProcessType(DfTypeUtil.toString(source.get("processType")));
                result.setRegex(DfTypeUtil.toString(source.get("regex")));
                result.setReplacement(DfTypeUtil.toString(source.get("replacement")));
                result.setSortOrder(DfTypeUtil.toInteger(source.get("sortOrder")));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top