Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for id_map (0.13 sec)

  1. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

      // WhileOp becomes the j-th (j<=i) result of new WhileOp. This information is
      // stored in id_map (id_map[i] = j).
      std::vector<uint64_t> id_map(n, 0);
      uint64_t j = 0;
      for (auto i = 0; i < n; ++i) {
        if (is_consumed_id[i]) {
          id_map[i] = j++;
          new_operands.push_back(while_op.getOperand(i));
          new_result_types.push_back(while_op.getResultTypes()[i]);
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    		puid = []byte("/proc/self/uid_map\000")
    		uidmap = formatIDMappings(sys.UidMappings)
    	}
    
    	if sys.GidMappings != nil {
    		psetgroups = []byte("/proc/self/setgroups\000")
    		pgid = []byte("/proc/self/gid_map\000")
    
    		if sys.GidMappingsEnableSetgroups {
    			setgroups = []byte("allow\000")
    		} else {
    			setgroups = []byte("deny\000")
    		}
    		gidmap = formatIDMappings(sys.GidMappings)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. pkg/proxy/util/utils_test.go

    				ipFamily = v1.IPv6Protocol
    				otherIPFamily = v1.IPv4Protocol
    			}
    
    			cidrMap := MapCIDRsByIPFamily(testcase.ipString)
    
    			var cidrStr []string
    			for _, cidr := range cidrMap[ipFamily] {
    				cidrStr = append(cidrStr, cidr.String())
    			}
    			var cidrStrOther []string
    			for _, cidr := range cidrMap[otherIPFamily] {
    				cidrStrOther = append(cidrStrOther, cidr.String())
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. internal/logger/logonce.go

    // Holds a map of recently logged errors.
    type logOnceType struct {
    	IDMap map[string]onceErr
    	sync.Mutex
    }
    
    func (l *logOnceType) logOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      // This must match the concatenation order in 'operands' above.
      IRMapping ir_map;
      int pos = 0;
      for (auto orig : orig_parent_func.getArguments())
        ir_map.map(orig, then_func.getArgument(pos++));
      for (auto orig : callers.forward->getResults())
        ir_map.map(orig, then_func.getArgument(pos++));
      for (auto orig : callers.core_tpu->getResults())
        ir_map.map(orig, then_func.getArgument(pos++));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  6. test/stress/maps.go

    func (intMapType) NewMap() Map {
    	return make(intMap)
    }
    
    var deadcafe = []byte("\xDE\xAD\xCA\xFE")
    
    type intMap map[int][]byte
    
    func (m intMap) AddItem() {
    	s0 := len(m)
    	for len(m) == s0 {
    		key := rand.Intn(s0 + 1)
    		m[key] = make([]byte, rand.Intn(64<<10))
    	}
    }
    
    func (m intMap) DelItem() {
    	for k := range m {
    		delete(m, k)
    		return
    	}
    }
    
    func (m intMap) GetItem() {
    	key := rand.Intn(len(m))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  7. pkg/volume/util/fsquota/project.go

    			return project.id, false, nil
    		}
    		idMap[project.id] = true
    	}
    	var needToAddProjid = true
    	for _, projid := range list.projid {
    		idMap[projid.id] = true
    		if projid.id == id && id != common.BadQuotaID {
    			needToAddProjid = false
    		}
    	}
    	var err error
    	if id == common.BadQuotaID {
    		id, err = findAvailableQuota(path, idMap)
    		if err != nil {
    			return common.BadQuotaID, false, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library.mlir

        %i8_min = "tf.Const"() {value = dense<-128.0> : tensor<f32>} : () -> tensor<f32>
        %i8_max = "tf.Const"() {value = dense<127.0> : tensor<f32>} : () -> tensor<f32>
    
        %clamp_max = "tf.Maximum"(%rescale, %i8_min) : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32>
        %clamp_min = "tf.Minimum"(%clamp_max, %i8_max) : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32>
        %round = "tf.Round"(%clamp_min) : (tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScopeIdsFixture.groovy

        @Override
        void afterBuild() {
            Map<String, Map<String, String>> idsMap = idsFile.readLines()
                .collect { line -> new JsonSlurper().parse(new StringReader(line)) as Map<String, Map<String, String>> }
                .collectMany { it.entrySet() }
                .collectEntries { it }
            Map<String, ScopeIds> ids = [:]
            idsMap.each {
                ids[it.key] = new ScopeIds(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_tf_drq.mlir

        %round = "tf.Floor"(%add) : (tensor<*xf32>) -> tensor<*xf32>
    
        %i8_min = "tf.Const"() {value = dense<-128.0> : tensor<f32>} : () -> tensor<f32>
        %i8_max = "tf.Const"() {value = dense<127.0> : tensor<f32>} : () -> tensor<f32>
        %clip = "tf.ClipByValue"(%round, %i8_min, %i8_max) : (tensor<*xf32>, tensor<f32>, tensor<f32>) -> tensor<*xf32>
        %i8 = "tf.Cast"(%clip) : (tensor<*xf32>) -> tensor<*xi8>
        func.return %i8 : tensor<*xi8>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top