- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for all_ones (0.16 sec)
-
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// CHECK-DAG: %[[ZERO:.*]] = mhlo.constant dense<0.000000e+00> : tensor<f32> // CHECK-DAG: %[[ALL_ONES:.*]] = mhlo.constant dense<1.000000e+00> : tensor<2x13x25x9xf32> // CHECK: %[[DIVISOR:.*]] = "mhlo.reduce_window"(%[[ALL_ONES]], %[[ZERO]]) // CHECK-SAME: padding = dense<{{\[\[}}0, 0], [0, 1], [1, 1], [0, 0]]> // CHECK-SAME: window_dimensions = dense<[1, 2, 3, 1]>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// be computed as a GEMM in NHWC data format, and can be up to ~2x times // faster than convolution in NCHW. const bool one_by_one = d0 == 1 && d1 == 1; const bool trivial_strides = all_ones(getStrides()); const bool trivial_dilations = all_ones(getDilations()); // TODO(ezhulenev): This might lead to excessive transposes in the final IR, // if the ratio of 1x1 convolutions to regular convolutions is close to 1:1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input/all_on.yaml
John Howard <******@****.***> 1603485929 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 23 20:45:29 UTC 2020 - 387 bytes - Viewed (0) -
pkg/scheduler/internal/cache/node_tree_test.go
nodesToAdd: allNodes[:1], expectedTree: map[string][]string{"": {"node-0"}}, }, { name: "same node specified twice", nodesToAdd: []*v1.Node{allNodes[0], allNodes[0]}, expectedTree: map[string][]string{"": {"node-0"}}, }, { name: "mix of nodes with and without proper labels", nodesToAdd: allNodes[:4], expectedTree: map[string][]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 08:00:25 UTC 2023 - 13.1K bytes - Viewed (0) -
src/runtime/race/testdata/sync_test.go
func TestRaceAnnounceThreads(t *testing.T) { const N = 7 allDone := make(chan bool, N) var x int _ = x var f, g, h func() f = func() { x = 1 go g() go func() { x = 1 allDone <- true }() x = 2 allDone <- true } g = func() { for i := 0; i < 2; i++ { go func() { x = 1 allDone <- true }() allDone <- true } } h = func() { x = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 10 15:05:17 UTC 2020 - 3K bytes - Viewed (0) -
pkg/scheduler/testing/workload_prep.go
node := MakeNode().Name(fmt.Sprintf("node%d", i)). Label(v1.LabelTopologyZone, fmt.Sprintf("zone%d", i%zones)). Label(v1.LabelHostname, fmt.Sprintf("node%d", i)).Obj() allNodes = append(allNodes, node) } filteredNodes = allNodes[:filteredNodesNum] // build pods for i := 0; i < existingPodsNum; i++ { podWrapper := MakePod().Name(fmt.Sprintf("pod%d", i)).Node(fmt.Sprintf("node%d", i%allNodesNum))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 13:43:36 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering.go
return affinityCounts, antiAffinityCounts } affinityCountsList := make([]topologyToMatchedTermCount, len(allNodes)) antiAffinityCountsList := make([]topologyToMatchedTermCount, len(allNodes)) index := int32(-1) processNode := func(i int) { nodeInfo := allNodes[i] node := nodeInfo.Node() affinity := make(topologyToMatchedTermCount) antiAffinity := make(topologyToMatchedTermCount)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 14.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring.go
// need to process nodes hosting pods with affinity. var allNodes []*framework.NodeInfo var err error if hasConstraints { allNodes, err = pl.sharedLister.NodeInfos().List() if err != nil { return framework.AsStatus(fmt.Errorf("failed to get all nodes from shared lister: %w", err)) } } else { allNodes, err = pl.sharedLister.NodeInfos().HavePodsWithAffinityList() if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering.go
return &preFilterState{}, nil } allNodes, err := pl.sharedLister.NodeInfos().List() if err != nil { return nil, fmt.Errorf("listing NodeInfos: %w", err) } s := preFilterState{ Constraints: constraints, TpKeyToCriticalPaths: make(map[string]*criticalPaths, len(constraints)), TpPairToMatchNum: make(map[topologyPair]int, sizeHeuristic(len(allNodes), constraints)), }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 12.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring.go
ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, filteredNodes []*framework.NodeInfo, ) *framework.Status { allNodes, err := pl.sharedLister.NodeInfos().List() if err != nil { return framework.AsStatus(fmt.Errorf("getting all nodes: %w", err)) } if len(allNodes) == 0 { // No need to score. return framework.NewStatus(framework.Skip) } state := &preScoreState{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.1K bytes - Viewed (0)