Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 54 for lidx (0.23 sec)

  1. tensorflow/c/c_api_function.cc

        input_tensors->emplace_back(node, idx);
    
        const auto& iter = input_nodes->find(node);
        if (iter == input_nodes->end()) {
          input_nodes->insert({node, {idx}});
        } else {
          auto& indices = iter->second;
          if (std::find(indices.begin(), indices.end(), idx) != indices.end()) {
            return InvalidArgument("TF_Output ", node->name(), ":", idx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. pkg/kube/krt/index.go

    	extract func(o I) []K,
    ) *Index[I, K] {
    	idx := Index[I, K]{
    		objects: make(map[K]sets.Set[Key[I]]),
    		c:       c,
    		mu:      sync.RWMutex{},
    		extract: extract,
    	}
    	c.Register(func(o Event[I]) {
    		idx.mu.Lock()
    		defer idx.mu.Unlock()
    
    		if o.Old != nil {
    			obj := *o.Old
    			key := GetKey(obj)
    			for _, indexKey := range extract(obj) {
    				sets.DeleteCleanupLast(idx.objects, indexKey, key)
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 04:53:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. migrator/migrator.go

    					if idx.Comment != "" {
    						createTableSQL += fmt.Sprintf(" COMMENT '%s'", idx.Comment)
    					}
    
    					if idx.Option != "" {
    						createTableSQL += " " + idx.Option
    					}
    
    					createTableSQL += ","
    					values = append(values, clause.Column{Name: idx.Name}, tx.Migrator().(BuildIndexOptionsInterface).BuildIndexOptions(idx.Fields, stmt))
    				}
    			}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  4. pkg/test/framework/components/environment/kube/settings.go

    			Network: s.networkTopology[ci],
    			Meta:    config.Map{"kubeconfig": kc},
    		}
    		if idx, ok := s.controlPlaneTopology[ci]; ok {
    			cfg.PrimaryClusterName = fmt.Sprintf("cluster-%d", idx)
    		}
    		if idx, ok := s.configTopology[ci]; ok {
    			cfg.ConfigClusterName = fmt.Sprintf("cluster-%d", idx)
    		}
    		configs = append(configs, cfg)
    	}
    	return configs, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	var wg sync.WaitGroup
    	for idx, pool := range z.serverPools {
    		if z.IsSuspended(idx) {
    			continue
    		}
    		wg.Add(1)
    		go func(idx int, pool *erasureSets) {
    			defer wg.Done()
    			result, err := pool.HealObject(ctx, bucket, object, versionID, opts)
    			result.Object = decodeDirObject(result.Object)
    			errs[idx] = err
    			results[idx] = result
    		}(idx, pool)
    	}
    	wg.Wait()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  6. tests/query_test.go

    	}
    
    	for idx, name := range names {
    		if name != users[idx].Name {
    			t.Errorf("Unexpected result on pluck name, got %+v", names)
    		}
    	}
    
    	for idx, id := range ids {
    		if int(id) != int(users[idx].ID) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    	for idx, id := range ids2 {
    		if int(id) != int(users[idx].ID+1) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

          "tensorflow/compiler/mlir/tf2xla/api/v2/testdata/");
    }
    
    size_t CountSubstring(absl::string_view str, absl::string_view substr) {
      size_t count = 0;
      size_t idx = str.find(substr);
      while (idx != std::string::npos) {
        count++;
        idx = str.find(substr, idx + 1);
      }
      return count;
    }
    
    class TensorflowDialectToExecutorTest : public ::testing::Test {
     public:
      TensorflowDialectToExecutorTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    						}
    
    						hasParity := 0
    						parityOK := make([]bool, m.shards)
    						for idx, sh := range v {
    							splitData[idx] = sh
    							if idx >= k && len(sh) > 0 {
    								parityOK[idx] = true
    								hasParity++
    								for i := range splitFilled[idx] {
    									splitFilled[idx][i] = 1
    								}
    							}
    						}
    
    						splitDataShards := make([]byte, len(splitFilled[0]))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		},
    	} {
    		var containersToUpdate []containerToUpdateInfo
    		for idx := range pod.Spec.Containers {
    			// default resize policy when pod resize feature is enabled
    			pod.Spec.Containers[idx].Resources = tc.apiSpecResources[idx]
    			pod.Status.ContainerStatuses[idx].Resources = &tc.apiStatusResources[idx]
    			cInfo := containerToUpdateInfo{
    				apiContainerIdx: idx,
    				kubeContainerID: kubecontainer.ContainerID{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                String resourceName = entry.resource.getResourceName();
    
                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
                    buffer.append(" (");
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top