Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for index (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

          %index = "tf.AddV2"(%barg0, %one) : (tensor<i32>, tensor<i32>) -> tensor<i32>
          %elem = "tf._SomeOp"() : () -> tensor<16x1xf32>
          %tl_loop = "tf.TensorListSetItem"(%barg1, %index, %elem) : (tensor<!tf_type.variant<tensor<?x1xf32>>>, tensor<i32>, tensor<16x1xf32>) -> tensor<!tf_type.variant<tensor<?x1xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      }
      auto index_type = dense_attr.getType();
      const auto index_elem_bits = index_type.getElementTypeBitWidth();
      if (index_elem_bits != 32 && index_elem_bits != 64) {
        return false;
      }
      // Checks that the index has shape of [1, 1, 1, ..., 1, N].
      if (index_type.getRank() < 1 ||
          llvm::any_of(index_type.getShape().drop_back(),
                       [](int64_t dim) { return dim != 1; })) {
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"size(self.array.filter(e, e%2 == 0)) == 3",
    				"self.array.map(e, e * 20).filter(e, e > 50).exists(e, e == 60)",
    				"size(self.array) == 8",
    			},
    			errors: map[string]string{
    				"self.array[100] == 0": "index out of bounds: 100",
    			},
    		},
    		{name: "listSet access",
    			obj: map[string]interface{}{
    				"set": []interface{}{1, 2, 3, 4, 5},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			// No ellipses pattern. Anonymize host name from every pool arg
    			pools := strings.Fields(poolsArgs)
    			anonPools = make([]string, len(pools))
    			for index, arg := range pools {
    				anonPools[index] = anonAddr(arg)
    			}
    			return cmdLineWithoutPools + strings.Join(anonPools, " ")
    		}
    
    		// Ellipses pattern in pool args. Regex groups:
    		// 1 - server prefix
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control_test.go

    			podIndexFromLabel, exists := pod.Labels[apps.PodIndexLabel]
    			if !exists {
    				t.Errorf("Missing pod index label: %s", apps.PodIndexLabel)
    				continue
    			}
    			podIndexFromName := strconv.Itoa(getOrdinal(pod))
    			if podIndexFromLabel != podIndexFromName {
    				t.Errorf("Pod index label value (%s) does not match pod index in pod name (%s)", podIndexFromLabel, podIndexFromName)
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			t.Errorf("%v: expected no error, but got %v", tc.name, err)
    		}
    	}
    }
    
    type predictableNameGenerator struct {
    	index int
    }
    
    func (p *predictableNameGenerator) GenerateName(base string) string {
    	p.index++
    	return fmt.Sprintf("%s%d", base, p.index)
    }
    
    func TestStoreCreateGenerateNameConflict(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    func.func @eliminatePassThroughCaseRegion(%arg0: tensor<f32>, %arg1: tensor<f32>, %arg2: tensor<!tf_type.resource>) -> (tensor<f32>) {
      // CHECK: %[[INDEX:.*]] = "tf._SomeOp"() : () -> tensor<i32>
      %index = "tf._SomeOp"() : () -> tensor<i32>
      // CHECK: %[[CASE_OUTPUT:.*]] = "tf.CaseRegion"(%[[INDEX]]) <{is_stateless = true}> ({
      // CHECK:   %[[MUL:.*]] = "tf.Mul"(%[[ARG0]], %[[ARG1]])
      // CHECK:   "tf.Yield"(%[[MUL]]) : (tensor<f32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    			}
    
    			const cgoLdflag = "//go:cgo_ldflag"
    			idx := bytes.Index(src, []byte(cgoLdflag))
    			for idx >= 0 {
    				// We are looking at //go:cgo_ldflag.
    				// Find start of line.
    				start := bytes.LastIndex(src[:idx], []byte("\n"))
    				if start == -1 {
    					start = 0
    				}
    
    				// Find end of line.
    				end := bytes.Index(src[idx:], []byte("\n"))
    				if end == -1 {
    					end = len(src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/validation/validation_test.go

    		config: newValidatingWebhookConfiguration([]admissionregistration.ValidatingWebhook{{
    			Name: "webhook.k8s.io",
    			ClientConfig: admissionregistration.WebhookClientConfig{
    				URL: strPtr("arg#backwards=thisis?html.index/port:host//:https"),
    			},
    		},
    		}, true),
    		expectedError: `host must be specified`,
    	}, {
    		name: "path must start with slash",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

           an input argument if the initial value of the resource is read, or to the
           output if the initial value is not read.
    
         . 'tf.aliasing_output' is the index of the function output that is an alias
           of the input argument. This attribute is added only to the input argument
           when the initial value of the corresponding resource is read, and the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top