Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 179 for node_map (1.36 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

        body_ret->erase();
      };
      // Handle body.
      ModifyFunctionSignature(body, &body_map, find_arg_stack_type,
                              add_size_vars_to_return);
      const bool signature_change = !body_map.empty();
      if (failed(DecomposeStackOpsInternal(&body.front(), module, &body_map,
                                           decomposed_partitioned_call_callees))) {
        return failure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java

            modelNode.applyTo(allLinks(elementFilter.withType(type)), rules);
        }
    
        @Override
        public <S> ModelMap<S> withType(Class<S> typeClass) {
            ModelType<S> type = ModelType.of(typeClass);
            return withType(type);
        }
    
        public <S> ModelMap<S> withType(ModelType<S> type) {
            if (type.equals(elementType)) {
                return uncheckedCast(this);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 23K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

            bindings.getManagedProperty("thing").type == ModelType.of(InputStream)
        }
    
        @Managed
        static abstract class WritableMapProperty {
            abstract void setMap(ModelMap<NamedThingInterface> map)
            abstract ModelMap<NamedThingInterface> getMap()
        }
    
        @Managed
        static abstract class WritableSetProperty {
            abstract void setSet(ModelSet<NamedThingInterface> set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  4. pkg/kubelet/apis/config/validation/validation_test.go

    			conf.FeatureGates = map[string]bool{"NodeSwap": true}
    			conf.MemorySwap.SwapBehavior = "invalid-behavior"
    			return conf
    		},
    		errMsg: "invalid configuration: memorySwap.swapBehavior \"invalid-behavior\" must be one of: \"\", \"LimitedSwap\" or \"NoSwap\"",
    	}, {
    		name: "specify MemorySwap.SwapBehavior without enabling NodeSwap",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleDetectionIntegrationSpec.groovy

                interface D extends Item {
                }
    
                class MyPlugin extends RuleSource {
                    @Model
                    void a(A a) { }
    
                    @Mutate
                    void addTask(ModelMap<Task> tasks, @Path("$normalisedPath") Item item) {
                        tasks.create("printValue") {
                            it.doLast {
                                println "value: " + item.value
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelGroovyScalarConfigurationIntegrationTest.groovy

                void setTheBigDecimal(BigDecimal b)
            }
    
            class RulePlugin extends RuleSource {
                @Model
                void props(Props p) {}
    
                @Mutate
                void addTask(ModelMap<Task> tasks, Props p) {
                    tasks.create('printResolvedValues') {
                        doLast {
                            println "prop theBigDecimal: $p.theBigDecimal :"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/validation/validation.go

    		}
    	}
    	if !localFeatureGate.Enabled(features.NodeSwap) && kc.MemorySwap != (kubeletconfig.MemorySwapConfiguration{}) {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: memorySwap.swapBehavior cannot be set when NodeSwap feature flag is disabled"))
    	}
    
    	for _, val := range kc.EnforceNodeAllocatable {
    		switch val {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentSourcesIntegrationTest.groovy

            given:
            withMainSourceSet()
            buildFile << '''
                class TaskRules extends RuleSource {
                    @Mutate
                    void addPrintSourceDisplayNameTask(ModelMap<Task> tasks, @Path("components.main.sources.someLang") CustomLanguageSourceSet sourceSet) {
                        tasks.create("printSourceData") {
                            doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/saved_model_to_tfl_flatbuffer.cc

      std::vector<std::optional<double>> node_mins;
      std::vector<std::optional<double>> node_maxs;
    
      // Populate quantization specs.
      TF_RETURN_IF_ERROR(internal::PopulateQuantizationSpecs(
          model_flags, toco_flags, &quant_specs, &node_names, &node_dtypes,
          &node_shapes, &node_mins, &node_maxs));
    
      internal::WarningUnusedFlags(model_flags, toco_flags);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    			}
    			if !slices.Contains(node.Pools, ep.PoolIdx) {
    				node.Pools = append(node.Pools, ep.PoolIdx)
    			}
    			nodesMap[ep.Host] = node
    		}
    	}
    	nodes = make([]Node, 0, len(nodesMap))
    	for _, v := range nodesMap {
    		nodes = append(nodes, v)
    	}
    	sort.Slice(nodes, func(i, j int) bool {
    		return nodes[i].Host < nodes[j].Host
    	})
    	return
    }
    
    // GetPoolIdx return pool index
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top