Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for layers (0.37 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                    // matrix of a fully connected layer on a trivial FC mnist
                    // model:
                    // - `model.layer-1.kernel` (this is the "best" name)
                    // - `model.keras_api.layers.1.kernel`
                    // - `model.variables.0`
                    // - `model.keras_api.layers.1.keras_api.trainable_variables.0`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation_test.go

    			field.Invalid(field.NewPath("spec", "template", "metadata", "labels"), nil, ""), // selector is empty, labels are not, so select doesn't match labels
    		},
    	}, {
    		name: "selector_doesnt_match",
    		set:  mkStatefulSet(&validPodTemplate, tweakSelectorLabels(map[string]string{"foo": "bar"})),
    		errs: field.ErrorList{
    			field.Invalid(field.NewPath("spec", "template", "metadata", "labels"), nil, ""),
    		},
    	}, {
    		name: "negative_replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_builder_test.go

    							LoadBalancingWeight: &wrappers.UInt32Value{
    								Value: 30,
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    			name:   "subset cluster endpoints with labels",
    			mesh:   testMesh(),
    			labels: labels.Instance{"version": "v1"},
    			instances: []*model.ServiceInstance{
    				{
    					Service:     service,
    					ServicePort: servicePort,
    					Endpoint: &model.IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  4. pkg/registry/batch/job/strategy_test.go

    					}},
    			},
    		},
    		"job with non-batch labels and without batch labels in pod template": {
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    					Selector:       defaultSelector,
    					ManualSelector: ptr.To(false),
    					Template: api.PodTemplateSpec{
    						ObjectMeta: metav1.ObjectMeta{
    							Labels: map[string]string{},
    						},
    						Spec: validPodSpec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_node_status_test.go

    			},
    		},
    		{
    			name: "make sure existing labels do not get deleted when initial node has no opinion",
    			initialNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{},
    				},
    			},
    			existingNode: &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						v1.LabelHostname:                "new-hostname",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    		return fmt.Errorf("failed to create pod for DaemonSet: %w", err)
    	}
    
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Labels:    template.Labels,
    			Namespace: namespace,
    		},
    	}
    
    	pod.Name = names.SimpleNameGenerator.GenerateName(fmt.Sprintf("%p-", pod))
    
    	template.Spec.DeepCopyInto(&pod.Spec)
    
    	f.podStore.Update(pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    		labels, values := getOrderedLabelValueArrays(metric.VariableLabels)
    		values = append(values, globalLocalNodeName)
    		labels = append(labels, serverName)
    
    		if metric.Description.Type == histogramMetric {
    			if metric.Histogram == nil {
    				return true
    			}
    			for k, v := range metric.Histogram {
    				labels = append(labels, metric.HistogramBucketLabel)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	metaObj, err := meta.Accessor(obj)
    	if err != nil {
    		panic(err.Error())
    	}
    	labels := metaObj.GetLabels()
    	if labels == nil {
    		labels = map[string]string{}
    	}
    	labels["prepare_create"] = "true"
    	metaObj.SetLabels(labels)
    }
    
    func (t *testRESTStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    		0, nil, "", "", nil)
    	if err != nil {
    		t.Errorf("MinIO %s:Failed to create http request for testing the response when object Layer is set to `nil`.", instanceType)
    	}
    	// execute the object layer set to `nil` test.
    	// `ExecObjectLayerAPINilTest` sets the Object Layer to `nil` and calls the handler.
    	ExecObjectLayerAPINilTest(t, nilBucket, nilObject, instanceType, apiRouter, nilReq)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    			Subsets: []*networking.Subset{
    				{Name: "v1", Labels: map[string]string{"version": "v1"}},
    				{Name: "v2", Labels: map[string]string{"version": "v2"}},
    			},
    		}, valid: true},
    
    		{name: "simple destination rule with empty selector labels", in: &networking.DestinationRule{
    			Host: "reviews",
    			Subsets: []*networking.Subset{
    				{Name: "v1", Labels: map[string]string{"version": "v1"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top