Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 283 for weights (0.31 sec)

  1. 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)
  2. src/net/http/h2_bundle.go

    	}
    
    	// Common case: only one kid or all kids have the same weight.
    	// Some clients don't use weights; other clients (like web browsers)
    	// use mostly-linear priority trees.
    	w := n.kids.weight
    	needSort := false
    	for k := n.kids.next; k != nil; k = k.next {
    		if k.weight != w {
    			needSort = true
    			break
    		}
    	}
    	if !needSort {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

    //===----------------------------------------------------------------------===//
    
    // CHECK-LABEL: func @quantized_matmul_fn
    func.func @quantized_matmul_fn(%input: tensor<?xf32>) -> tensor<?xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

      func.return %fc : tensor<1x2xf32>
    // CHECK-DAG: %[[weight:.*]] = arith.constant dense<{{\[\[}}0.000000e+00, 1.000000e+00]
    // CHECK-DAG: %[[bias:.*]] = arith.constant dense<[0.000000e+00, 2147364.75]>
    // CHECK-DAG: %[[b_q:.*]] = "tfl.quantize"(%[[bias]]){{.*}}quant.uniform<i32:f32:0, {7.8740158861230386E-10,0.0019998892694710656}>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/validation/validation.go

    	extenderManagedResources := sets.New[string]()
    	for i, extender := range extenders {
    		path := fldPath.Index(i)
    		if len(extender.PrioritizeVerb) > 0 && extender.Weight <= 0 {
    			errs = append(errs, field.Invalid(path.Child("weight"),
    				extender.Weight, "must have a positive weight applied to it"))
    		}
    		if extender.BindVerb != "" {
    			binders++
    		}
    		for j, resource := range extender.ManagedResources {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_weight_only.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize | FileCheck %s
    
    // Test that hybrid quantized dot_general is produced when q/dq pair only exists
    // for weight.
    
    module attributes {tf_saved_model.semantics} {
      func.func private @quantize_dot_general_fn(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} {
        %cst = stablehlo.constant dense<3.000000e-01> : tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_drq.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-quantizable-spots-as-functions -quant-prepare-quantize-drq -quant-quantize='weight-quantization=true' -verify-each=false | FileCheck %s
    
    // -----
    
    module {
      func.func @matmul(%arg0: tensor<1x2x2x3xf32>) -> (tensor<*xf32>) {
        %cst_0 = "tf.Const"() {value = dense<0.000000e+00> : tensor<2x1024xf32>} : () -> tensor<2x1024xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

      return ConstantFoldOpIfPossible(reshape_op).front();
    }
    
    // Checks if a value can be symmetrically quantized.
    bool CanBeSymmetricallyQuantized(Value weight) {
      auto dq_op = weight.getDefiningOp<quantfork::DequantizeCastOp>();
      if (!dq_op) return true;
    
      auto qtype =
          mlir::cast<TensorType>(dq_op.getArg().getType()).getElementType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/config/validation/validation_test.go

    			Weight:      5,
    		}, {
    			Destination: &networking.Destination{Host: "foo.baz.east"},
    			Weight:      -1,
    		}}, valid: false},
    		{name: "total weight > 100", routes: []*networking.RouteDestination{{
    			Destination: &networking.Destination{Host: "foo.baz.south"},
    			Weight:      550,
    		}, {
    			Destination: &networking.Destination{Host: "foo.baz.east"},
    			Weight:      500,
    		}}, valid: true},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_waypoint.go

    	weighted := make([]*route.WeightedCluster_ClusterWeight, 0)
    	for _, dst := range in.Route {
    		weight := &wrappers.UInt32Value{Value: uint32(dst.Weight)}
    		if dst.Weight == 0 {
    			// Ignore 0 weighted clusters if there are other clusters in the route.
    			// But if this is the only cluster in the route, then add it as a cluster with weight 100
    			if len(in.Route) == 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top