Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for name_regex (0.31 sec)

  1. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

        // follow a predefined convention.
        oneof name_oneof {
          string name = 1;
    
          // An regex can be used to match multiple tensors.
          string name_regex = 2;
        }
    
        // The quantization parameters for the tensor. If it is for per-axis, the
        // parameters should be defined for each axis, otherwise, if it is for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tests/import_quant_stats.mlir

    // RUN: tf-opt %s -quant-import-stats --quant-test-stats='entries { name: "op" params { min_max { min: -1 max: 1 } } } entries { name: "op_0:0" params { min_max { min: -2 max: 2 } } }  entries { name_regex: "op_*" params { min_max { min: -3 max: 3 } } }' | FileCheck %s
    
    
    // CHECK-LABEL: import_stats_skip
    func.func @import_stats_skip(%arg0: tensor<4xf32>, %cst: tensor<i32>) -> (tensor<2xf32>,tensor<2xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

          int port = name_and_port.size() == 2 ? std::stoi(name_and_port[1]) : -1;
          name_to_info_.insert({name_and_port[0], {port, entry}});
        } else if (!entry.name_regex().empty()) {
          std::vector<std::string> name_and_port =
              absl::StrSplit(entry.name_regex(), ':');
          int port = name_and_port.size() == 2 ? std::stoi(name_and_port[1]) : -1;
          regex_to_info_.insert({name_and_port[0], {port, entry}});
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. pkg/config/analysis/msg/generate.main.go

    		}
    		codes[m.Code] = true
    
    		matched, err = regexp.MatchString(nameRegex, m.Name)
    		if err != nil {
    			return err
    		}
    		if !matched {
    			return fmt.Errorf("Name for message %q must follow the regex %s", m.Name, nameRegex)
    		}
    
    		if names[m.Name] {
    			return fmt.Errorf("Message names must be unique, %q defined more than once", m.Name)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 28 16:55:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. pilot/pkg/security/authz/model/generator_test.go

                  - key: iss
                  value:
                    string_match:
                      safe_regex: {regex: .+}
              - metadata:
                  filter: envoy.filters.http.jwt_authn
                  path:
                  - key: payload
                  - key: sub
                  value:
                    string_match:
                      safe_regex: {regex: .+}
    `,
    		},
    		{
    			in: "foo*",
    			want: `
            and_ids:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. operator/pkg/validate/common.go

    	DigestRegexp = match(`[A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][[:xdigit:]]{32,}`)
    
    	// NameRegexp is the format for the name component of references. The
    	// regexp has capturing groups for the domain and name part omitting
    	// the separating forward slash from either.
    	NameRegexp = expression(
    		optional(DomainRegexp, literal(`/`)),
    		nameComponentRegexp,
    		optional(repeated(literal(`/`), nameComponentRegexp)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. pkg/bootstrap/testdata/stats_inclusion_golden.json

              "suffix": "shadow_allowed"
              },
              {
              "suffix": "shadow_denied"
              },
              {
              "safe_regex": {"regex":"http.[0-9]*\\.[0-9]*\\.[0-9]*\\.[0-9]*_8080.downstream_rq_time"}
              },
              {
              "safe_regex": {"regex":"vhost\\.*\\.route\\.*"}
              },
              {
              "prefix": "component"
              },
              {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. pkg/bootstrap/testdata/tracing_none_golden.json

              "suffix": "rbac.denied"
              },
              {
              "suffix": "shadow_allowed"
              },
              {
              "suffix": "shadow_denied"
              },
              {
              "safe_regex": {"regex":"vhost\\.*\\.route\\.*"}
              },
              {
              "prefix": "component"
              },
              {
              "prefix": "istio"
              }
            ]
          }
        }
      },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. pkg/bootstrap/testdata/default_golden.json

              "suffix": "rbac.denied"
              },
              {
              "suffix": "shadow_allowed"
              },
              {
              "suffix": "shadow_denied"
              },
              {
              "safe_regex": {"regex":"vhost\\.*\\.route\\.*"}
              },
              {
              "prefix": "component"
              },
              {
              "prefix": "istio"
              }
            ]
          }
        }
      },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. pkg/bootstrap/testdata/tracing_datadog_golden.json

              "suffix": "rbac.denied"
              },
              {
              "suffix": "shadow_allowed"
              },
              {
              "suffix": "shadow_denied"
              },
              {
              "safe_regex": {"regex":"vhost\\.*\\.route\\.*"}
              },
              {
              "prefix": "component"
              },
              {
              "prefix": "istio"
              }
            ]
          }
        }
      },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top