Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for eps (0.02 sec)

  1. src/vendor/golang.org/x/net/lif/address.go

    // link name. The zero value of af or name means a wildcard.
    func Addrs(af int, name string) ([]Addr, error) {
    	eps, err := newEndpoints(af)
    	if len(eps) == 0 {
    		return nil, err
    	}
    	defer func() {
    		for _, ep := range eps {
    			ep.close()
    		}
    	}()
    	lls, err := links(eps, name)
    	if len(lls) == 0 {
    		return nil, err
    	}
    	var as []Addr
    	for _, ll := range lls {
    		var lifr lifreq
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

        // Take Difference of both estimates: (f(theta + eps) - f(theta - eps)).
        TF_RETURN_IF_ERROR(
            ops::Sub(ctx, fPlus.get(), fMinus.get(), f_outputs, "sub_top"));
        AbstractTensorHandlePtr fDiff(f_outputs[0]);
    
        // Calculate using the difference quotient definition:
        // (f(theta + eps) - f(theta - eps)) / (2 * eps).
        TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"10.3.3.3"},
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    			Name:     ptr.To("p33"),
    			Port:     ptr.To[int32](33),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	complexSubset8 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    	if err != nil {
    		return nil, err
    	}
    
    	eps, err := endpoints.Endpoints(namespace).Get(svc.Name)
    	if err != nil {
    		return nil, err
    	}
    	if len(eps.Subsets) == 0 {
    		return nil, errors.NewServiceUnavailable(fmt.Sprintf("no endpoints available for service %q", svc.Name))
    	}
    
    	// Pick a random Subset to start searching from.
    	ssSeed := rand.Intn(len(eps.Subsets))
    
    	// Find a Subset that has the port.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. pkg/registry/discovery/endpointslice/strategy.go

    func (endpointSliceStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	eps := obj.(*discovery.EndpointSlice)
    	if eps == nil {
    		return nil
    	}
    	var warnings []string
    	warnings = append(warnings, warnOnDeprecatedAddressType(eps.AddressType)...)
    	return warnings
    }
    
    // Canonicalize normalizes the object after validation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 10:00:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/unfuse_mhlo_batch_norm.mlir

        %mean: tensor<?xf32>, %variance: tensor<?xf32>)
        -> tensor<?x?x?x?xf32> {
      // CHECK-DAG: %[[EPS:.+]] = mhlo.constant dense<1.000000e-03> : tensor<f32>
      // CHECK-DAG: %[[VAR_SHAPE:.+]] = shape.shape_of %[[VARIANCE]] : tensor<?xf32> -> tensor<1xindex>
      // CHECK-DAG: %[[EPS_BCAST:.+]] =  "mhlo.dynamic_broadcast_in_dim"(%[[EPS]], %[[VAR_SHAPE]]) <{broadcast_dimensions = dense<> : tensor<0xi64>}> : (tensor<f32>, tensor<1xindex>) -> tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    				Name:             stat.EndpointId,
    				Id:               stat.EndpointId,
    				SharedContainers: []string{c.container.ID},
    			}
    		}
    	}
    
    	eps := []hcsshim.HNSEndpoint{}
    	for _, ep := range uniqueEndpoints {
    		eps = append(eps, *ep)
    	}
    
    	return eps, nil
    }
    
    func Test_criStatsProvider_listContainerNetworkStats(t *testing.T) {
    	fakeClock := testingclock.NewFakeClock(time.Time{})
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. pkg/registry/discovery/endpointslice/strategy_test.go

    			dropDisabledFieldsOnCreate(testcase.eps)
    			if !apiequality.Semantic.DeepEqual(testcase.eps, testcase.expectedEPS) {
    				t.Logf("actual endpointslice: %v", testcase.eps)
    				t.Logf("expected endpointslice: %v", testcase.expectedEPS)
    				t.Errorf("unexpected EndpointSlice on create API strategy")
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. pilot/pkg/xds/eds_sh_test.go

    		TypeUrl:       v3.EndpointType,
    		ResourceNames: []string{clusterName},
    	})
    	cla := xdstest.UnmarshalClusterLoadAssignment(t, res.Resources)[0]
    	eps := cla.Endpoints
    
    	if len(eps) != 1 {
    		t.Fatalf("expecting 1 locality endpoint but got %d", len(eps))
    	}
    
    	lbEndpoints := eps[0].LbEndpoints
    	if len(lbEndpoints) != len(expected.weights) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top