Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for Proto (0.09 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            elt_ty = TFRTypes.NONE
            values = []
          array_attr_elts = ['{}:{}'.format(val, elt_ty) for val in values]
          return '[{}]'.format(','.join(array_attr_elts))
      raise NotImplementedError(
          'Proto AttrValue not recognized. type: {}, value: {}'.format(
              attr_type, attr_val))
    
    
    def _collect_derived_attrs_from_proto(op_def):
      derived_attrs = set()
      for arg in op_def.input_arg:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

                 {});
    }
    
    TEST_F(CApiFunctionTest, ImportFunctionDef_InvalidProto) {
      // Invalid protobuf data (protos cannot start with 4 bytes of zeros)
      char proto[] = {0x0, 0x0, 0x0, 0x0};
      func_ = TF_FunctionImportFunctionDef(proto, 4, s_);
      EXPECT_TRUE(func_ == nullptr);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Invalid FunctionDef given to TF_FunctionImportFunctionDef"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    		sa.Addr = pp.Addr
    		return sa, nil
    	}
    	return nil, syscall.EAFNOSUPPORT
    }
    
    func Socket(domain, typ, proto int) (fd Handle, err error) {
    	if domain == AF_INET6 && SocketDisableIPv6 {
    		return InvalidHandle, syscall.EAFNOSUPPORT
    	}
    	return socket(int32(domain), int32(typ), int32(proto))
    }
    
    func SetsockoptInt(fd Handle, level, opt int, value int) (err error) {
    	v := int32(value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    		t.Errorf("Expected action %d resource to be %s, got %s", index, resource, action.GetResource().Resource)
    	}
    }
    
    // protoPtr takes a Protocol and returns a pointer to it.
    func protoPtr(proto v1.Protocol) *v1.Protocol {
    	return &proto
    }
    
    // cacheMutationCheck helps ensure that cached objects have not been changed
    // in any way throughout a test run.
    type cacheMutationCheck struct {
    	objects []cacheObject
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. pkg/apis/networking/validation/validation_test.go

    	networkPolicy := makeValidNetworkPolicy()
    	for _, fn := range tweaks {
    		fn(networkPolicy)
    	}
    	return networkPolicy
    }
    
    func makePort(proto *api.Protocol, port intstr.IntOrString, endPort int32) networking.NetworkPolicyPort {
    	r := networking.NetworkPolicyPort{
    		Protocol: proto,
    		Port:     nil,
    	}
    	if port != intstr.FromInt32(0) && port != intstr.FromString("") && port != intstr.FromString("0") {
    		r.Port = &port
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  6. src/net/http/httputil/reverseproxy_test.go

    	}
    	res.Body.Close()
    }
    
    func TestReverseProxyRewriteStripsForwarded(t *testing.T) {
    	headers := []string{
    		"Forwarded",
    		"X-Forwarded-For",
    		"X-Forwarded-Host",
    		"X-Forwarded-Proto",
    	}
    	backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		for _, h := range headers {
    			if v := r.Header.Get(h); v != "" {
    				t.Errorf("got %v header: %q", h, v)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

    								// ServicePort=8080
    								// Host=serviceentry.istio.io
    								// URL=/any/path
    								// Cluster=cluster-0
    								// IstioVersion=
    								// Method=GET
    								// Proto=HTTP/1.1
    								// IP=10.244.2.20
    								// Alpn=
    								// RequestHeader=Accept:*/*
    								// RequestHeader=User-Agent:curl/7.81.0
    								// Hostname=uncaptured-v1-868c9b59b5-rxvfq
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            message=results,
        )
    
    
    @test_util.run_all_in_graph_and_eager_modes
    class CalibrationOptionsTest(quantize_model_test_base.QuantizedModelTest):
      """Test cases regarding the use of CalibrationOptions proto.
    
      Run all tests cases in both the graph mode (default in TF1) and the eager mode
      (default in TF2) to ensure support for when TF2 is disabled.
      """
    
      @parameterized.parameters(
          {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/telemetry_logging_test.go

    	grpcaccesslog "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/grpc/v3"
    	otelaccesslog "github.com/envoyproxy/go-control-plane/envoy/extensions/access_loggers/open_telemetry/v3"
    	otlpcommon "go.opentelemetry.io/proto/otlp/common/v1"
    	"google.golang.org/protobuf/types/known/structpb"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	tpb "istio.io/api/telemetry/v1alpha1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_test.go

    	xdstype "github.com/envoyproxy/go-control-plane/envoy/type/v3"
    	"github.com/envoyproxy/go-control-plane/pkg/conversion"
    	"github.com/google/go-cmp/cmp"
    	"github.com/google/uuid"
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/testing/protocmp"
    	"google.golang.org/protobuf/types/known/durationpb"
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    
    	extensions "istio.io/api/extensions/v1alpha1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top