Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 264 for nums (0.06 sec)

  1. guava-tests/test/com/google/common/base/EnumsTest.java

        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE);
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent();
        assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent();
    
        assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      }
    
      xla::DotDimensionNumbers dnums;
      for (int i : llvm::seq<int32_t>(0, num_batch_dim)) {
        dnums.add_lhs_batch_dimensions(i);
        dnums.add_rhs_batch_dimensions(i);
      }
      dnums.add_rhs_contracting_dimensions(num_batch_dim);
      if (adj_x.getValue()) {
        dnums.add_lhs_contracting_dimensions(num_batch_dim);
      } else {
        dnums.add_lhs_contracting_dimensions(num_batch_dim + 1);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    				},
    			},
    		},
    		{
    			name:          "Request 11 CPUs, 4 available on NUMA 0, 6 available on NUMA 1",
    			pod:           *testPod4,
    			container:     *testContainer4,
    			defaultCPUSet: cpuset.New(2, 3, 4, 5, 6, 7, 8, 9, 10, 11),
    			expectedHints: nil,
    		},
    		{
    			name:          "Request 2 CPUs, 1 available on NUMA 0, 1 available on NUMA 1",
    			pod:           *testPod1,
    			container:     *testContainer1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    type singleNumaNodePolicy struct {
    	// numaInfo represents list of NUMA Nodes available on the underlying machine and distances between them
    	numaInfo *NUMAInfo
    	opts     PolicyOptions
    }
    
    var _ Policy = &singleNumaNodePolicy{}
    
    // PolicySingleNumaNode policy name.
    const PolicySingleNumaNode string = "single-numa-node"
    
    // NewSingleNumaNodePolicy returns single-numa-node policy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/policy_options.go

    	FullPhysicalCPUsOnly bool
    	// Flag to evenly distribute CPUs across NUMA nodes in cases where more
    	// than one NUMA node is required to satisfy the allocation.
    	DistributeCPUsAcrossNUMA bool
    	// Flag to ensure CPUs are considered aligned at socket boundary rather than
    	// NUMA boundary
    	AlignBySocket bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/topology_manager.go

    )
    
    const (
    	// maxAllowableNUMANodes specifies the maximum number of NUMA Nodes that
    	// the TopologyManager supports on the underlying machine.
    	//
    	// At present, having more than this number of NUMA Nodes will result in a
    	// state explosion when trying to enumerate possible NUMAAffinity masks and
    	// generate hints for them. As such, if more NUMA Nodes than this are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestEnumSetGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Enums;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    
    /**
     * An abstract TestSetGenerator for generating sets containing enum values.
     *
     * @author Kevin Bourrillion
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/memory_manager.go

    	// GetMemoryNUMANodes provides NUMA nodes that are used to allocate the container memory
    	GetMemoryNUMANodes(pod *v1.Pod, container *v1.Container) sets.Set[int]
    
    	// GetAllocatableMemory returns the amount of allocatable memory for each NUMA node
    	GetAllocatableMemory() []state.Block
    
    	// GetMemory returns the memory allocated by a container from NUMA nodes
    	GetMemory(podUID, containerName string) []state.Block
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (1)
  9. pkg/kubelet/cm/topologymanager/topology_manager_test.go

    		{
    			description:    "Policy is set to restricted",
    			policyName:     "restricted",
    			expectedPolicy: "restricted",
    		},
    		{
    			description:    "Policy is set to single-numa-node",
    			policyName:     "single-numa-node",
    			expectedPolicy: "single-numa-node",
    		},
    		{
    			description:   "Policy is set to unknown",
    			policyName:    "unknown",
    			expectedError: fmt.Errorf("unknown policy: \"unknown\""),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 13:04:32 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                        ConversionPatternRewriter& rewriter) const {
        mhlo::ConvDimensionNumbersAttr dnums = conv_op.getDimensionNumbers();
        // Transposes lhs and rhs if their formats are not NHWC.
        Value lhs = InsertTranspose(
            conv_op.getLhs(), dnums.getInputBatchDimension(),
            dnums.getInputFeatureDimension(), dnums.getInputSpatialDimensions(),
            /*default_batch_dim=*/0, /*default_feature_dim=*/num_spatial_dims + 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top