Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for validate0 (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Rewrite all TPU Partitioned ops into their V2 counterparts.";
    
      let constructor = "TFTPU::CreateTPUPartitionedOpConversionPass()";
    }
    
    def TPUValidateInputsPass : Pass<"tf-tpu-validate-inputs", "ModuleOp"> {
      let summary = "Validates inputs to the TPU TF/XLA bridge";
    
      let description = [{
        This pass checks that the IR has valid input to TPU TF/XLA bridge.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    				),
    				prometheus.GaugeValue,
    				float64(v),
    				append(values, k)...)
    			if err != nil {
    				// Enable for debugging
    				if serverDebugLog {
    					bugLogIf(GlobalContext, fmt.Errorf("unable to validate prometheus metric (%w) %v+%v", err, values, metric.Histogram))
    				}
    			} else {
    				out <- pmetric
    			}
    		}
    		return
    	}
    	metricType := prometheus.GaugeValue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    		strings.Repeat("x", size)); err != nil {
    		t.Fatal(err)
    	}
    	if err := cn.(*net.TCPConn).CloseWrite(); err != nil {
    		t.Fatal(err)
    	}
    
    	<-done
    }
    
    // Issue 18319: test that the Server validates the request method.
    func TestServerValidatesMethod(t *testing.T) {
    	tests := []struct {
    		method string
    		want   int
    	}{
    		{"GET", 200},
    		{"GE(T", 400},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. pkg/registry/batch/job/strategy_test.go

    			featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.JobBackoffLimitPerIndex, tc.enableJobBackoffLimitPerIndex)
    			errs := Strategy.Validate(ctx, tc.job)
    			if len(errs) != int(tc.wantWarningCount) {
    				t.Errorf("want warnings %d but got %d, errors: %v", tc.wantWarningCount, len(errs), errs)
    			}
    			if diff := cmp.Diff(tc.wantJob, tc.job); diff != "" {
    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. tensorflow/c/c_api.cc

    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/framework/versions.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/graph/validate.h"
    #include "tensorflow/core/lib/gtl/array_slice.h"
    #include "tensorflow/core/platform/coding.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/mem.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_node_status_test.go

    			kubelet.nodeLister = delegatingNodeLister{client: kubeClient}
    
    			// Execute
    			assert.NoError(t, kubelet.updateNodeStatus(ctx))
    
    			// Validate
    			actions := kubeClient.Actions()
    			if tc.expectedNode != nil {
    				assert.Len(t, actions, 2)
    				assert.IsType(t, core.GetActionImpl{}, actions[0])
    				assert.IsType(t, core.PatchActionImpl{}, actions[1])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    		// * a transition to the Unknown state. Prior to this fix, a container would make an invalid transition
    		// * from Running->Waiting. This test validates the correct behavior of transitioning from Running->Terminated.
    		{
    			containers: []v1.Container{{Name: "unknown"}},
    			statuses: []*kubecontainer.Status{
    				{
    					Name:  "unknown",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. tests/integration/pilot/common/routing.go

    			),
    		},
    	})
    }
    
    // destinationRuleCases contains tests some specific DestinationRule tests.
    func destinationRuleCases(t TrafficContext) {
    	from := t.Apps.A
    	to := t.Apps.C
    	// Validates the config is generated correctly when only idletimeout is specified in DR.
    	t.RunTraffic(TrafficTestCase{
    		name:   "only idletimeout specified in DR",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      SmallVector<int64_t, 4> s0_shape, s1_shape;
      DenseIntElementsAttr s0, s1;
      if (!ExtractInputConstShape(op, s0, s1, s0_shape, s1_shape)) return success();
    
      // If both shape is known const, try to validate shape on them as well.
      SmallVector<int64_t, 4> bcasted_shape;
      if (!OpTrait::util::getBroadcastedShape(s0_shape, s1_shape, bcasted_shape))
        return op.emitOpError() << "requires broadcast compatible shape tensors "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  10. src/crypto/x509/x509_test.go

    		priv.Primes[1].Cmp(rsaPrivateKey.Primes[1]) != 0 {
    		t.Errorf("got:%+v want:%+v", priv, rsaPrivateKey)
    	}
    
    	// This private key includes an invalid prime that
    	// rsa.PrivateKey.Validate should reject.
    	data := []byte("0\x16\x02\x00\x02\x02\u007f\x00\x02\x0200\x02\x0200\x02\x02\x00\x01\x02\x02\u007f\x00")
    	if _, err := ParsePKCS1PrivateKey(data); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top