- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 147 for Slice3 (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
std::vector<Value> sliced; if (batch_size == 1) { // Batch size is 1, no splitting is required // Squeeze the batch dimension, i.e. reshape // [1, num_rows, num_cols] -> [num_rows, num_cols] auto reshape_op = createReshapeOp(value, {num_rows, num_cols}, element_type, loc, rewriter); sliced.emplace_back(reshape_op.getOutput()); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK: %[[SLICE0:.*]] = "mhlo.slice"(%[[ARG2]]) // CHECK-DAG-SAME: start_indices = dense<0> : tensor<1xi64> // CHECK-DAG-SAME: limit_indices = dense<1> : tensor<1xi64> // CHECK-DAG-SAME: strides = dense<1> : tensor<1xi64> // CHECK-SAME: (tensor<2xi32>) -> tensor<1xi32> // CHECK: %[[DIM0:.*]] = mhlo.reshape %[[SLICE0]] : (tensor<1xi32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (0) -
src/crypto/tls/key_agreement.go
func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte { if sigType == signatureEd25519 { var signed []byte for _, slice := range slices { signed = append(signed, slice...) } return signed } if version >= VersionTLS12 { h := hashFunc.New() for _, slice := range slices { h.Write(slice) } digest := h.Sum(nil) return digest
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 14:56:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
"crypto/x509" "fmt" "net/http" "net/http/httptest" "os" "path" "sort" "testing" "time" meshconfig "istio.io/api/mesh/v1alpha1" "istio.io/istio/pkg/config/mesh" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/env" "istio.io/istio/pkg/test/util/retry" ) func readCertFromFile(filename string) string { csrBytes, err := os.ReadFile(filename) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
common/config/.golangci.yml
- pkg: maps desc: "do not use maps; use istio.io/istio/pkg/maps instead" - pkg: golang.org/x/exp/slices desc: "do not use golang.org/x/exp/slices; use istio.io/istio/pkg/slices instead" - pkg: slices desc: "do not use slices; use istio.io/istio/pkg/slices instead" DenyOperatorAndIstioctl: files: # Tests can do anything - "!$test"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 20:03:06 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/proxy/endpointslicecache_test.go
&BaseEndpointInfo{ip: "10.0.2.3", port: 80, endpoint: "10.0.2.3:80", isLocal: false, ready: true, serving: true, terminating: false}, }, }, }, // 2 slices, with some overlapping endpoints, result should be a union // of the 2. "2 overlapping slices, same port": { namespacedName: types.NamespacedName{Name: "svc1", Namespace: "ns1"}, endpointSlices: []*discovery.EndpointSlice{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 24.9K bytes - Viewed (0) -
pkg/slices/slices_test.go
} func TestEqual(t *testing.T) { tests := []struct { name string s1 []int s2 []int want bool }{ {"Empty Slices", []int{}, []int{}, true}, {"Equal Slices", []int{1, 2, 3}, []int{1, 2, 3}, true}, {"Unequal Slices", []int{1, 2, 3}, []int{3, 2, 1}, false}, {"One Empty Slice", []int{}, []int{1, 2, 3}, false}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { got := Equal(tt.s1, tt.s2)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
src/go/build/deps_test.go
< internal/weak < sync < internal/bisect < internal/godebug < internal/reflectlite < errors < internal/oserror; cmp, internal/race, math/bits < iter < maps, slices; internal/oserror, maps, slices < RUNTIME; RUNTIME < sort < container/heap; RUNTIME < io; RUNTIME < arena; syscall !< io; reflect !< sort;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
pilot/pkg/xds/xds_test.go
"istio.io/istio/pilot/test/xds" "istio.io/istio/pilot/test/xdstest" "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/mesh" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/structpath" "istio.io/istio/pkg/wellknown" ) type SidecarTestConfig struct { ImportedNamespaces []string Resolution string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
return nil } if service.Spec.Selector == nil { // services without a selector receive no endpoint slices from this controller; // these services will receive endpoint slices that are created out-of-band via the REST API. return nil } logger.V(5).Info("About to update endpoint slices for service", "key", key) podLabelSelector := labels.Set(service.Spec.Selector).AsSelectorPreValidated()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0)