Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for partition64 (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/conc_alloc_test.go

    		}
    	}
    	t.Logf("For requiredSum=%v, %s classes=%#+v got solution %v, %v", requiredSum, style, classes, allocs, fairProp)
    }
    
    // partition64 calls consume n times, passing ints [0,n) and floats that sum to x
    func partition64(rands *rand.Rand, n int, x float64, consume func(int, float64)) {
    	if n <= 0 {
    		return
    	}
    	divs := make([]float64, n-1)
    	for idx := range divs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 18:17:27 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

          const std::function<bool(Operation *)> &partition = IsFlexDelegate)
          : partition_(partition) {}
    
      void runOnOperation() override;
    
     private:
      const std::function<bool(Operation *)> partition_;
    };
    
    void PartitionedTopologicalSortPass::runOnOperation() {
      func::FuncOp func = getOperation();
      if (!PartitionedTopologicalSort(func, &func.getBody().front(), partition_)) {
        return signalPassFailure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-skip-partitioned-calls.mlir

    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=true | FileCheck %s --check-prefix=CHECK-SKIP
    // RUN: odml-to-stablehlo-opt %s --tf-stablehlo=skip-partitioned-calls=false | FileCheck %s --check-prefix=CHECK-NOSKIP
    
    module {
      func.func @partitioned_call(%arg0: tensor<1x2x2x3xf32>) -> (tensor<1x2x2x3xf32>) {
        %0 = "tf.StatefulPartitionedCall"(%arg0) <{
          config = "", config_proto = "", executor_type = "", f = @some_func
        }> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/partitioned-topological-sort.mlir

    // RUN: tf-opt %s -tfl-partitioned-topological-sort | FileCheck %s
    
    // CHECK-LABEL: @tf_ops_will_be_partitioned
    func.func @tf_ops_will_be_partitioned() -> tensor<1xf32> {
      %const = "tfl.pseudo_const"() {value = dense<[1.0]> : tensor<1xf32>} : () -> tensor<1xf32>
      %tmp1 = "tfl.add"(%const, %const) { fused_activation_function = "NONE" } : (tensor<1xf32>,tensor<1xf32>) -> (tensor<1xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 19 22:33:49 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. pkg/kubelet/util/swap/swap_util_test.go

    		},
    		{
    			name: "with swap enabled, one partition",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    `,
    			expectedEnabled: true,
    		},
    		{
    			name: "with swap enabled, 2 partitions",
    			procSwapsContent: `
    Filename				Type		Size		Used		Priority
    /dev/dm-1               partition	33554428	0		-2
    /dev/zram0              partition	8388604		0		100
    `,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/cse.go

    				}
    			}
    			if len(splitPoints) == 1 {
    				continue // no splits, leave equivalence class alone.
    			}
    
    			// Move another equivalence class down in place of e.
    			partition[i] = partition[len(partition)-1]
    			partition = partition[:len(partition)-1]
    			i--
    
    			// Add new equivalence classes for the parts of e we found.
    			splitPoints = append(splitPoints, len(e))
    			for j := 0; j < len(splitPoints)-1; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/mergelocals_test.go

    		},
    		{
    			// missing element 2
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1},
    				v2: []int{0, 1},
    				v3: []int{0, 1},
    			},
    			experr: true,
    		},
    		{
    			// partitions disagree for v1 vs v2
    			vars: []*ir.Name{v1, v2, v3},
    			partition: map[*ir.Name][]int{
    				v1: []int{0, 1, 2},
    				v2: []int{1, 0, 2},
    				v3: []int{0, 1, 2},
    			},
    			experr: true,
    		},
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-utils.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"errors"
    
    	"github.com/zeebo/xxh3"
    )
    
    // getFileInfoVersions partitions this object's versions such that,
    //   - fivs.Versions has all the non-free versions
    //   - fivs.FreeVersions has all the free versions
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/data_flow_grad.cc

      // [g1, g2, g4, g5, g3]
      auto data = op.input(0);
      auto partitions = op.input(1);
      int32_t num_partitions;
      TF_RETURN_IF_ERROR(
          GetNodeAttr(op.node()->attrs(), "num_partitions", &num_partitions));
    
      // Note: the shape of the partitions is a prefix of the data shape.
      // shape(partitions) = [5]
      auto partitions_shape = Shape(scope, partitions);
      // We now create a partitions-shaped tensor with integers from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 13:40:35 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/net/http/62490.md

    The new [Cookie.Partitioned] field identifies cookies with the Partitioned attribute....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 85 bytes
    - Viewed (0)
Back to top