Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 568 for weights (0.28 sec)

  1. pilot/pkg/xds/endpoints/endpoint_builder.go

    }
    
    func (e *LocalityEndpoints) refreshWeight() {
    	var weight *wrapperspb.UInt32Value
    	if len(e.llbEndpoints.LbEndpoints) == 0 {
    		weight = nil
    	} else {
    		weight = &wrapperspb.UInt32Value{}
    		for _, lbEp := range e.llbEndpoints.LbEndpoints {
    			weight.Value += lbEp.GetLoadBalancingWeight().Value
    		}
    	}
    	e.llbEndpoints.LoadBalancingWeight = weight
    }
    
    func (e *LocalityEndpoints) AssertInvarianceInTest() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

                  "Non-constant weights are not supported at the moment,"
                  " except matmul and einsum.");
            } else if (!quant_options_.enable_two_input_tensors() &&
                       !is_unitwise_quantization_enabled) {
              return absl::InternalError(
                  "Quantization is disabled for this op due to the non-constant "
                  "weight. You can enable it by setting `enable_two_input_tensors` "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/prepare-quantize-dynamic-range.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=4000 enable-custom-op-quantization=CustomTestOp=1-3,CustomTestOp3=3" | FileCheck --check-prefix=MinElement %s
    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=19" | FileCheck --check-prefix=LSTMOpQuantized %s
    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="min-elements-for-weights=21" | FileCheck --check-prefix=LSTMOpNotQuantized %s
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. docs/ko/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: Wed Jun 12 12:49:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/body-nested-models.md

        А `dict`, с именем `weights`, который вы получите в качестве ответа Pydantic, действительно будет иметь ключи типа `int` и значения типа `float`.
    
    ## Резюме
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

        This means that, even though your API clients can only send strings as keys, as long as those strings contain pure integers, Pydantic will convert them and validate them.
    
        And the `dict` you receive as `weights` will actually have `int` keys and `float` values.
    
    ## Recap
    
    With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body-nested-models.md

        Das bedeutet, dass Ihre API-Clients nur Strings senden können, aber solange diese Strings nur Zahlen enthalten, wird Pydantic sie konvertieren und validieren.
    
        Und das `dict` welches Sie als `weights` erhalten, wird `int`-Schlüssel und `float`-Werte haben.
    
    ## Zusammenfassung
    
    Mit **FastAPI** haben Sie die maximale Flexibilität von Pydantic-Modellen, während Ihr Code einfach, kurz und elegant bleibt.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

                        type.getNumElements());
      }
    
      return sparsity;
    }
    
    typedef struct InspectResult {
      // Whether the weight tensor is sparse enough to be compressed.
      bool can_compress;
      // If the weight tensor cannot be encoded in a block configuration that the op
      // supports, a Densify() op will be inserted afterwards to fall back to dense
      // execution.
      bool needs_densify;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework.go

    		// encountered, let the individual Score weight take precedence.
    		if _, ok := f.scorePluginWeight[e.Name]; ok {
    			continue
    		}
    		// a weight of zero is not permitted, plugins can be disabled explicitly
    		// when configured.
    		f.scorePluginWeight[e.Name] = int(e.Weight)
    		if f.scorePluginWeight[e.Name] == 0 {
    			f.scorePluginWeight[e.Name] = 1
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity.go

    	}
    	state := &preScoreState{
    		preferredNodeAffinity: preferredNodeAffinity,
    	}
    	cycleState.Write(preScoreStateKey, state)
    	return nil
    }
    
    // Score returns the sum of the weights of the terms that match the Node.
    // Terms came from the Pod .spec.affinity.nodeAffinity and from the plugin's
    // default affinity.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top