Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for name_regex (0.1 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. 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)
Back to top