Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for weights (0.12 sec)

  1. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

    // point constant.
    def : Pat<(TFL_DequantizeOp
                 (TFL_QuantizeOp (Arith_ConstantOp F32ElementsAttr:$cst), $qt)),
              (TFL_ConstOp $cst)>;
    
    // Transpose conv supports hybrid computation with quantized weights.
    def FoldQuantWeightsIntoTposeConv : Pat<
      (TFL_TransposeConvOp
        $output_shape,
        (TFL_DequantizeOp $quant_weights),
        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. pilot/pkg/xds/endpoints/ep_filters.go

    		return scaleFactor
    	}
    	weight := uint32(math.MaxUint32)
    	if ep.GetLoadBalancingWeight().Value < math.MaxUint32/scaleFactor {
    		weight = ep.GetLoadBalancingWeight().Value * scaleFactor
    	}
    	return weight
    }
    
    // Apply the weight for this endpoint to the network gateways.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/internal/pgo/pprof.go

    	}
    	return postProcessNamedEdgeMap(weight, totalWeight)
    }
    
    func sortByWeight(edges []NamedCallEdge, weight map[NamedCallEdge]int64) {
    	sort.Slice(edges, func(i, j int) bool {
    		ei, ej := edges[i], edges[j]
    		if wi, wj := weight[ei], weight[ej]; wi != wj {
    			return wi > wj // want larger weight first
    		}
    		// same weight, order by name/line number
    		if ei.CallerName != ej.CallerName {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

        // determined. The activation and weight are quantized to INT8 while bias is
        // quantized to INT32.
        METHOD_STATIC_RANGE_INT8 = 2;
    
        // Dynamic range quantization. Quantized tensor values' ranges are
        // determined in the graph executions. The weights are quantized during
        // conversion.
        METHOD_DYNAMIC_RANGE_INT8 = 3;
    
        // Weight-only quantization. Only weights are quantized during conversion.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

          enable_per_channel_quantized_weight_;
      // Change this to user-given bit width once we have custom configuration.
      options.bit_width_ = 8;
    
      // Insert quantization parameters for weights for ops with `weight_only_ptq`
      // attribute.
      pm.addNestedPass<func::FuncOp>(createInsertWeightParamPass());
    
      // PrepareQuantizePass uses SymbolTable to fetch relevant GEMM ops for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

                         "Uses TF Uniform Quantized ops"))};
    
      Option<int64_t> min_num_elements_for_weights_{
          *this, "min-num-elements-for-weights", llvm::cl::init(0),
          llvm::cl::desc("The minimum required number of elements in a weight "
                         "array to apply quantization.")};
    
      Option<QuantMethod> quantization_method_{
          *this, "quantization-method",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/scheduler/apis/config/types_pluginargs.go

    	// Type selects which strategy to run.
    	Type ScoringStrategyType
    
    	// Resources to consider when scoring.
    	// The default resource set includes "cpu" and "memory" with an equal weight.
    	// Allowed weights go from 1 to 100.
    	// Weight defaults to 1 if not specified or explicitly set to 0.
    	Resources []ResourceSpec
    
    	// Arguments specific to RequestedToCapacityRatio strategy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 23:15:53 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/language/parse.go

    			continue
    		}
    
    		entry, weight := split(entry, ';')
    
    		// Scan the language.
    		t, err := Parse(entry)
    		if err != nil {
    			id, ok := acceptFallback[entry]
    			if !ok {
    				return nil, nil, err
    			}
    			t = makeTag(language.Tag{LangID: id})
    		}
    
    		// Scan the optional weight.
    		w := 1.0
    		if weight != "" {
    			weight = consume(weight, 'q')
    			weight = consume(weight, '=')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top