Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 369 for weights (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

      // prepare_quantize_ptq_per_channel.mlir.
      Option<bool> enable_per_channel_quantization_{
          *this, "enable-per-channel-quantization", llvm::cl::init(false),
          llvm::cl::desc("Whether enable per-channel quantized weights.")};
    };
    
    bool PrepareQuantizePass::SetInputNodesQuantizationParams(func::FuncOp func) {
      StringRef func_name = func.getName();
      auto has_quantize_op = [&](const Value arg) {
        return (arg.hasOneUse() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework_test.go

    	return buildScoreConfigWithWeights(defaultWeights, ps...)
    }
    
    func buildScoreConfigWithWeights(weights map[string]int32, ps ...string) *config.Plugins {
    	var plugins []config.Plugin
    	for _, p := range ps {
    		plugins = append(plugins, config.Plugin{Name: p, Weight: weights[p]})
    	}
    	return &config.Plugins{Score: config.PluginSet{Enabled: plugins}}
    }
    
    type injectedResult struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		ret += edge.Weight
    	}
    	return ret
    }
    
    type edgeList []*Edge
    
    func (el edgeList) Len() int {
    	return len(el)
    }
    
    func (el edgeList) Less(i, j int) bool {
    	if el[i].Weight != el[j].Weight {
    		return abs64(el[i].Weight) > abs64(el[j].Weight)
    	}
    
    	from1 := el[i].Src.Info.PrintableName()
    	from2 := el[j].Src.Info.PrintableName()
    	if from1 != from2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. pilot/pkg/xds/endpoints/ep_filters_test.go

    					{Address: "20.0.0.1", Weight: 6},
    					{Address: "20.0.0.2", Weight: 6},
    					{Address: "20.0.0.3", Weight: 6},
    					// 2 endpoint on network1 with weight aggregated at the gateway
    					{Address: "1.1.1.1", Weight: 12},
    					// 1 endpoint on network4 with no gateway (i.e. directly accessible)
    					{Address: "40.0.0.1", Weight: 6},
    				},
    				Weight: 36,
    			},
    		},
    		wantWorkloadMetadata: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. docs/ja/docs/tutorial/body-nested-models.md

    ```
    
    !!! tip "豆知識"
        JSONはキーとして`str`しかサポートしていないことに注意してください。
    
        しかしPydanticには自動データ変換機能があります。
    
        これは、APIクライアントがキーとして文字列しか送信できなくても、それらの文字列に純粋な整数が含まれている限り、Pydanticが変換して検証することを意味します。
    
        そして、`weights`として受け取る`dict`は、実際には`int`のキーと`float`の値を持つことになります。
    
    ## まとめ
    
    **FastAPI** を使用すると、Pydanticモデルが提供する最大限の柔軟性を持ちながら、コードをシンプルに短く、エレガントに保つことができます。
    
    以下のような利点があります:
    
    * エディタのサポート(どこでも補完!)
    * データ変換(別名:構文解析・シリアライズ)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    # Mapping of signature def key -> SignatureDef.
    _SignatureDefMap = Mapping[str, meta_graph_pb2.SignatureDef]
    
    # Default minimum number of elements in the weights for them to be quantized
    # during dynamic range quantization (DRQ) and weight-only quantization.
    _DYNAMIC_RANGE_DEFAULT_MIN_NUM_ELEMENTS_FOR_WEIGHTS = 1024
    
    
    def _is_qat_saved_model(saved_model_path: str):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // broadcasting support. This needs to be run immediately after HLO->TF
      // legalization; otherwise other passes like `ConvertTFBroadcastTo` will
      // constant fold the newly generated TF broadcast ops and materialize the
      // weights.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TF::CreateBroadcastFoldPass());
    
      // Canonicalization after TF legalization.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/crd-all.gen.yaml

                            if a sidecar is present in the workload.
                          type: string
                        weight:
                          description: The load balancing weight associated with the endpoint.
                          maximum: 4294967295
                          minimum: 0
                          type: integer
                      type: object
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

          ValueReference<K, V> previous = entry.getValueReference();
          int weight = map.weigher.weigh(key, value);
          checkState(weight >= 0, "Weights must be non-negative");
    
          ValueReference<K, V> valueReference =
              map.valueStrength.referenceValue(this, entry, value, weight);
          entry.setValueReference(valueReference);
          recordWrite(entry, weight, now);
          previous.notifyNewValue(value);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. manifests/charts/base/crds/crd-all.gen.yaml

                            if a sidecar is present in the workload.
                          type: string
                        weight:
                          description: The load balancing weight associated with the endpoint.
                          maximum: 4294967295
                          minimum: 0
                          type: integer
                      type: object
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:42 UTC 2024
    - 671.6K bytes
    - Viewed (0)
Back to top