Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for casts (0.63 sec)

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

      auto input_args_have_static_shape = [&]() -> bool {
        return mlir::cast<TensorType>(input_tensor.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(kernel_tensor.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(window_strides.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(padding.getType()).hasStaticShape() &&
               mlir::cast<TensorType>(lhs_dilation.getType()).hasStaticShape() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    // If there is a change in supporting more types in the TFLite cast op kernel,
    // the While loop outline pass should be updated since it inserts cast op(s)
    // after the TF -> TFL legalization pass is done.
    // LINT.IfChange
    def TFL_CastOp : TFL_Op<"cast", [
        Pure,
        SameOperandsAndResultShape]> {
      let summary = "Cast operator";
    
      let description = [{
        Casts input from input type to output type.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_test.go

    func TestBuildGatewayClustersWithRingHashLb(t *testing.T) {
    	cases := []struct {
    		name             string
    		ringSize         int
    		expectedRingSize int
    	}{
    		{
    			"default",
    			0,
    			1024,
    		},
    		{
    			"ring size",
    			2,
    			2,
    		},
    		{
    			"use ring hash",
    			2,
    			2,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder_test.go

    			},
    		},
    	}
    
    	cases := []struct {
    		name         string
    		expectedName string
    		expectedPath string
    	}{
    		{
    			name:         "uds",
    			expectedName: security.SDSExternalClusterName,
    			expectedPath: security.CredentialNameSocketPath,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    			cas.canSelect = true
    			numCanSelect++
    		}
    
    		// Permute cases and case info.
    		// Doing too much here makes the exhaustive loop
    		// too exhausting, so just do two swaps.
    		for loop := 0; loop < 2; loop++ {
    			i := x.Choose(len(cases))
    			j := x.Choose(len(cases))
    			cases[i], cases[j] = cases[j], cases[i]
    			info[i], info[j] = info[j], info[i]
    		}
    
    		if helper != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/reflect/value.go

    // (as opposed to a zero value received because the channel is closed).
    // Select supports a maximum of 65536 cases.
    func Select(cases []SelectCase) (chosen int, recv Value, recvOK bool) {
    	if len(cases) > 65536 {
    		panic("reflect.Select: too many cases (max 65536)")
    	}
    	// NOTE: Do not trust that caller is not modifying cases data underfoot.
    	// The range is safe because the caller cannot modify our copy of the len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	objectInputs := []ObjectInput{
    		// // cases 0-3: small single part objects
    		{"nothing", []int64{0}, make(map[string]string)},
    		{"small-0", []int64{11}, make(map[string]string)},
    		{"small-1", []int64{509}, make(map[string]string)},
    		{"small-2", []int64{5 * oneMiB}, make(map[string]string)},
    		// // // cases 4-7: multipart part objects
    		{"mp-0", []int64{5 * oneMiB, 1}, make(map[string]string)},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    		for routeIndex, routePrefix := range matchHTTPRoutes {
    			for rIndex := routeIndex + 1; rIndex < len(matchHTTPRoutes); rIndex++ {
    				// exclude the duplicate-match cases which have been validated above
    				if strings.Compare(matchHTTPRoutes[rIndex].Prefix, routePrefix.Prefix) == 0 {
    					continue
    				}
    				// Validate former prefix match does not cover the latter one.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    const fastJobApiBackoff = 10 * time.Millisecond
    const fastRequeue = 10 * time.Millisecond
    
    // testFinishedAt represents time one second later than unix epoch
    // this will be used in various test cases where we don't want back-off to kick in
    var testFinishedAt = metav1.NewTime((time.Time{}).Add(time.Second))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		},
    		{
    			podWithOnlyOrphanFinalizer("pod4"),
    			orphanOptions,
    			defaultDeleteStrategy,
    			false,
    			[]string{metav1.FinalizerOrphanDependents},
    		},
    		// cases run with DeleteOptions.OrphanDedependents=false
    		// these cases all have oprhanDeleteStrategy, which should be ignored
    		// because DeleteOptions has the highest priority.
    		{
    			podWithOrphanFinalizer("pod5"),
    			nonOrphanOptions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
Back to top