Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 174 for roundTrip (0.3 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/math.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Confirm float constants and operators survive a roundtrip
    
    func.func @main(tensor<4xf32>) -> tensor<4xf32> {
    ^bb0(%arg0: tensor<4xf32>):
      // CHECK:      [[CONST:%.*]] = "tfl.pseudo_const"() <{value = dense<1.000000e+00> : tensor<4xf32>}> : () -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1/conversion.go

    	if err := autoConvert_v1_Deployment_To_apps_Deployment(in, out, s); err != nil {
    		return err
    	}
    
    	// Copy annotation to deprecated rollbackTo field for roundtrip
    	// TODO: remove this conversion after we delete extensions/v1beta1 and apps/v1beta1 Deployment
    	if revision := in.Annotations[appsv1.DeprecatedRollbackTo]; revision != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:36:24 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    // content with the prefix of the proxy server
    type Transport struct {
    	Scheme      string
    	Host        string
    	PathPrepend string
    
    	http.RoundTripper
    }
    
    // RoundTrip implements the http.RoundTripper interface
    func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
    	// Add reverse proxy headers.
    	forwardedURI := path.Join(t.PathPrepend, req.URL.EscapedPath())
    	if strings.HasSuffix(req.URL.Path, "/") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_context_test.cc

          &origin_cpu_tensor, device_.get(), &device_tensor));
      TF_ASSERT_OK(device_context_->CopyDeviceTensorToCPUSync(
          &device_tensor, "", device_.get(), &dest_cpu_tensor));
      LOG(INFO) << "H2D - D2H roundtrip completes. tensor: "
                << dest_cpu_tensor.DebugString(4);
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. pkg/api/testing/unstructured_test.go

    			if t.Failed() {
    				break
    			}
    		}
    	}
    }
    
    // TestRoundtripToUnstructured verifies the roundtrip faithfulness of all external types from native
    // to unstructured and back using both the JSON and CBOR serializers. The intermediate unstructured
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer/fuzzer.go

    			}
    			if len(obj.Names.ListKind) == 0 && len(obj.Names.Kind) > 0 {
    				obj.Names.ListKind = obj.Names.Kind + "List"
    			}
    			if len(obj.Versions) == 0 && len(obj.Version) == 0 {
    				// internal object must have a version to roundtrip all fields
    				obj.Version = "v1"
    			}
    			if len(obj.Versions) == 0 && len(obj.Version) != 0 {
    				obj.Versions = []apiextensions.CustomResourceDefinitionVersion{
    					{
    						Name:    obj.Version,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/archive/tar/fuzz_test.go

    				continue
    			}
    			files = append(files, file{header: hdr, content: buf.Bytes()})
    		}
    
    		// If we were unable to read anything out of the archive don't
    		// bother trying to roundtrip it.
    		if len(files) == 0 {
    			return
    		}
    
    		out := bytes.NewBuffer(nil)
    		w := NewWriter(out)
    		for _, f := range files {
    			if err := w.WriteHeader(f.header); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. src/net/http/client.go

    //
    // A RoundTripper must be safe for concurrent use by multiple
    // goroutines.
    type RoundTripper interface {
    	// RoundTrip executes a single HTTP transaction, returning
    	// a Response for the provided Request.
    	//
    	// RoundTrip should not attempt to interpret the response. In
    	// particular, RoundTrip must return err == nil if it obtained
    	// a response, regardless of the response's HTTP status code.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/nettest/conntest.go

    		t.Errorf("roundtrip SetDeadline error: %v", err)
    	}
    
    	const s = "Hello, world!"
    	buf := []byte(s)
    	if _, err := c.Write(buf); err != nil {
    		t.Errorf("roundtrip Write error: %v", err)
    	}
    	if _, err := io.ReadFull(c, buf); err != nil {
    		t.Errorf("roundtrip Read error: %v", err)
    	}
    	if string(buf) != s {
    		t.Errorf("roundtrip data mismatch: got %q, want %q", buf, s)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go

    			// we drop these intentionally
    			continue
    		}
    		f.Fuzz(x.Field(n).Addr().Interface())
    
    		// it roundtrips or NewStructural errors out. We should never drop anything
    		orig, err := NewStructural(origSchema)
    		if err != nil {
    			continue
    		}
    
    		// roundtrip through go-openapi, JSON, v1beta1 JSONSchemaProp, internal JSONSchemaProp
    		goOpenAPI := orig.ToKubeOpenAPI()
    		bs, err := json.Marshal(goOpenAPI)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top