Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for weights (0.18 sec)

  1. src/net/dnsclient.go

    	Port     uint16
    	Priority uint16
    	Weight   uint16
    }
    
    // byPriorityWeight sorts SRV records by ascending priority and weight.
    type byPriorityWeight []*SRV
    
    // shuffleByWeight shuffles SRV records by weight using the algorithm
    // described in RFC 2782.
    func (addrs byPriorityWeight) shuffleByWeight() {
    	sum := 0
    	for _, addr := range addrs {
    		sum += int(addr.Weight)
    	}
    	for sum > 0 && len(addrs) > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. pkg/test/datasets/validation/dataset/networking-v1beta1-VirtualService.yaml

    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 303 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.h

    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace mlir::quant::stablehlo {
    
    // Performs int8 weight-only quantization on dot_general ops.
    //
    // The resulting `ModuleOp` contains quantized StableHLO ops serialized in
    // `TF::XlaCallModuleOp`s. They are quantized using the weight constants, not
    // relying on calibration.
    class WeightOnlyPtqComponent : public Component {
     public:
      // Used for debugging purposes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 12:18:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pkg/test/datasets/validation/dataset/networking-v1-VirtualService.yaml

    metadata:
      name: valid-virtual-service
    spec:
      hosts:
        - c
      http:
        - route:
          - destination:
              host: c
              subset: v1
            weight: 75
          - destination:
              host: c
              subset: v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 01 14:30:05 UTC 2024
    - 298 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir

    func.func private @conv(%input: tensor<1x3x4x3xf32> {tf._user_specified_name = "input_tensor"}) -> tensor<*xf32> attributes {tf._construction_context = "kEagerRuntime", tf._input_shapes = [#tf_type.shape<1x3x4x3>]} {
      %weight = arith.constant dense_resource<__elided__> : tensor<2x3x3x2xf32>
      %bias = arith.constant dense<[7.11401462, 7.05456924]> : tensor<2xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions_weight_only.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -verify-diagnostics \
    // RUN:     -stablehlo-quantize-composite-functions | FileCheck --check-prefix=CHECK %s
    
    // Test that per-tensor weight-only quantized dot_general op is produced when
    // empty `weight_only_ptq` is provided.
    
    module attributes {tf_saved_model.semantics} {
      func.func private @quantize_dot_general_per_tensor(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h

      static bool GetArithmeticCountForConvAndFullyconnectedOp(mlir::Operation* op,
                                                               int64_t* count) {
        auto weight = op->getOperand(1);
        auto weight_type =
            mlir::dyn_cast_or_null<mlir::RankedTensorType>(weight.getType());
        if (weight_type == nullptr || !weight_type.hasStaticShape()) return false;
    
        auto output = op->getResult(0);
        auto output_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/net/resolverdialfunc_test.go

    // be 63 bytes or fewer.
    func (w SRVWriter) AddSRV(priority, weight, port uint16, target string) error {
    	targetName, err := dnsmessage.NewName(target)
    	if err != nil {
    		return err
    	}
    	w.a.wrote = true
    	err = w.a.builder.SRVResource(w.header(), dnsmessage.SRVResource{
    		Priority: priority,
    		Weight:   weight,
    		Port:     port,
    		Target:   targetName,
    	})
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. pkg/proxy/ipvs/util/ipvs_linux.go

    	if dst == nil {
    		return nil, errors.New("ipvs destination should not be empty")
    	}
    	return &RealServer{
    		Address:      dst.Address,
    		Port:         dst.Port,
    		Weight:       dst.Weight,
    		ActiveConn:   dst.ActiveConnections,
    		InactiveConn: dst.InactiveConnections,
    	}, nil
    }
    
    // toIPVSService converts a VirtualServer to the equivalent IPVS Service structure.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

    // through a StableHLO <-> MHLO roundtrip to utilize the MHLOQuantToInt pass.
    void AddStablehloQuantToIntPasses(OpPassManager& pm);
    
    // Processes tensors with NCHW format (== (batch, channel, height, weight)) by
    // converting them to NHWC formats along with extra optimizations such as
    // constant folding the transpose->convolution pattern. This is useful when
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top