Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 94 for isIndex (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        int64_t offset_dims_len = offset_dims.size();
        // Check for condition 3.
        for (const auto& [index, offset_dim] : llvm::enumerate(offset_dims)) {
          if (offset_dim != output_rank - offset_dims_len + index) {
            return failure();
          }
        }
    
        ArrayRef<int64_t> slice_sizes = op.getSliceSizes();
        ArrayRef<int64_t> collapsed_slice_dims =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	authority = (*SidIdentifierAuthority)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthority(sid *SID, index uint32) (subAuthority *uint32) {
    	r0, _, _ := syscall.Syscall(procGetSidSubAuthority.Addr(), 2, uintptr(unsafe.Pointer(sid)), uintptr(index), 0)
    	subAuthority = (*uint32)(unsafe.Pointer(r0))
    	return
    }
    
    func getSidSubAuthorityCount(sid *SID) (count *uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		rs := partNumberToRangeSpec(oinfo, partNumber)
    		size, err := oinfo.GetActualSize()
    		if err != nil {
    			t.Fatalf("Object: %s Object Index %d: Unexpected err: %v", object, oindex, err)
    		}
    
    		off, length, err := rs.GetOffsetLength(size)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
Back to top