Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for cluster_1 (0.17 sec)

  1. tensorflow/compiler/jit/partially_decluster_pass_test.cc

      AddToCluster({reshape.node()}, "cluster_0");
      AddToCluster({shape.node()}, "cluster_1");
    
      auto graph = std::make_unique<Graph>(OpRegistry::Global());
      TF_ASSERT_OK(s.ToGraph(graph.get()));
      TF_ASSERT_OK(PartiallyDecluster(&graph));
    
      const Node* n = FindNodeByName(*graph, "shape");
      ASSERT_NE(n, nullptr);
    
      EXPECT_EQ(GetXlaClusterForNode(*n), "cluster_1");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 23K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters_test.go

    				Weight: 42,
    			},
    		},
    		wantWorkloadMetadata: []string{
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1b",
    			";ns;example;;cluster4",
    			";;;;cluster2a",
    			";;;;cluster2b",
    			";;;;cluster2b",
    		},
    	},
    	{
    		name:  "from_network1_cluster1b",
    		proxy: makeProxy("network1", "cluster1b"),
    		want: []xdstest.LocLbEpInfo{
    			{
    				LbEps: []xdstest.LbEpInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/conversion_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/annotation"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/kube"
    	"istio.io/istio/pkg/config/protocol"
    )
    
    var (
    	domainSuffix = "company.com"
    	clusterID    = cluster.ID("test-cluster")
    )
    
    func TestConvertProtocol(t *testing.T) {
    	http := "http"
    	type protocolCase struct {
    		port        int32
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/extract_head_tail_outside_compilation.mlir

        //
        // CHECK:      "tf_device.cluster"
        // CHECK-NEXT:   tf_device.return
        %cluster = "tf_device.cluster"() ({
          %a = "tf.A"(%arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
          %b = "tf.B"(%a) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
          %c = "tf.C"(%b, %arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	}
    	labels := labelutil.AugmentLabels(we.Labels, clusterID, locality, "", networkID)
    	return &model.WorkloadInstance{
    		Endpoint: &model.IstioEndpoint{
    			Address: addr,
    			// Not setting ports here as its done by k8s controller
    			Network: network.ID(we.Network),
    			Locality: model.Locality{
    				Label:     locality,
    				ClusterID: clusterID,
    			},
    			LbWeight:  we.Weight,
    			Namespace: cfg.Namespace,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

    }
    
    TEST(SliceToDynamicSliceRewriteTest, Basic) {
      Scope root = Scope::NewRootScope()
                       .ExitOnError()
                       .WithAssignedDevice(kDeviceName)
                       .WithXlaCluster("cluster_0");
    
      Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT);
      Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT32);
      Output size = ops::Const(root.WithOpName("size"), {-1, 500});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      FunctionDefLibrary fdef_lib =
          CreateFunctionDefLibWithConstFunction("cluster_0");
      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(fdef_lib));
      Node* call;
      TF_ASSERT_OK(MakeXlaCompiledKernel(root.graph(), "cluster_0", "C", &call));
      call->AddAttr(kXlaHasReferenceVarsAttr, false);
      call->set_requested_device(kXlaDeviceName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf.h"
    
    #include <memory>
    #include <string>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "llvm/ADT/STLFunctionalExtras.h"
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:25:18 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    		{Name: "inbound|7443||", DnsLookupFamily: cluster.Cluster_V4_ONLY, LbPolicy: cluster.Cluster_ROUND_ROBIN},
    	}
    	sidecarInboundServiceOut := []*cluster.Cluster{
    		{
    			Name: "inbound|7443||", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS},
    			DnsLookupFamily: cluster.Cluster_V6_ONLY, LbPolicy: cluster.Cluster_RING_HASH,
    		},
    	}
    
    	gatewayInput := []*cluster.Cluster{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/cluster/cluster.go

    		out.Pod[PodKey(p.Namespace, p.Name)] = &pods.Items[i]
    	}
    
    	return out, nil
    }
    
    // Resources defines a tree of cluster resource names.
    type Resources struct {
    	// Root is the first level in the cluster resource hierarchy.
    	// Each level in the hierarchy is a map[string]interface{} to the next level.
    	// The levels are: namespaces/deployments/pods/containers.
    	Root map[string]any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 14 02:11:31 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top