Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 170 for weights (0.27 sec)

  1. tensorflow/c/kernels_experimental.h

    // This is a helper function which acquires mutexes in-order to provide
    // thread-safe way of performing weights update during the optimizer op. It
    // returns an opaque LockHolder handle back to plugin. This handle is passed to
    // the Release API for releasing the locks when the weight update is done. The
    // caller takes ownership of the `source` and `dest` tensors and is responsible
    // for freeing them with TF_DeleteTensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 07 14:44:39 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/body-nested-models.md

    !!! tip
        ✔️ 🤯 👈 🎻 🕴 🐕‍🦺 `str` 🔑.
    
        ✋️ Pydantic ✔️ 🏧 💽 🛠️.
    
        👉 ⛓ 👈, ✋️ 👆 🛠️ 👩‍💻 💪 🕴 📨 🎻 🔑, 📏 👈 🎻 🔌 😁 🔢, Pydantic 🔜 🗜 👫 & ✔ 👫.
    
         & `dict` 👆 📨 `weights` 🔜 🤙 ✔️ `int` 🔑 & `float` 💲.
    
    ## 🌃
    
    ⏮️ **FastAPI** 👆 ✔️ 🔆 💪 🚚 Pydantic 🏷, ⏪ 🚧 👆 📟 🙅, 📏 & 😍.
    
    ✋️ ⏮️ 🌐 💰:
    
    * 👨‍🎨 🐕‍🦺 (🛠️ 🌐 ❗)
    * 💽 🛠️ (.Ⓜ.. ✍ / 🛠️)
    * 💽 🔬
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/body-nested-models.md

        Isso significa que, embora os clientes da API só possam enviar strings como chaves, desde que essas strings contenham inteiros puros, o Pydantic irá convertê-los e validá-los.
    
        E o `dict` que você recebe como `weights` terá, na verdade, chaves `int` e valores` float`.
    
    ## Recapitulação
    
    Com **FastAPI** você tem a flexibilidade máxima fornecida pelos modelos Pydantic, enquanto seu código é mantido simples, curto e elegante.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/go/doc/comment/text.go

    // “[The least weight subsequence problem],” FOCS 1985, pp. 137-143.
    //
    // [The least weight subsequence problem]: https://doi.org/10.1109/SFCS.1985.60
    func wrap(words []string, max int) (seq []int) {
    	// The algorithm requires that our scoring function be concave,
    	// meaning that for all i₀ ≤ i₁ < j₀ ≤ j₁,
    	// weight(i₀, j₀) + weight(i₁, j₁) ≤ weight(i₀, j₁) + weight(i₁, j₀).
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. 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)
  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/zh/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
    - 9.3K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/config/kube/gateway/testdata/weighted.yaml

            value: /get
        backendRefs:
          - name: httpbin
            port: 80
            weight: 2
          - name: httpbin-other
            port: 8080
            weight: 3
          - name: httpbin-zero
            port: 8080
            weight: 0
      - matches:
        - path:
            type: PathPrefix
            value: /weighted-100
        backendRefs:
        - filters:
          - requestHeaderModifier:
              add:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/testdata/weighted.yaml.golden

        name: default.http.0
        route:
        - destination:
            host: httpbin.default.svc.domain.suffix
            port:
              number: 80
          weight: 2
        - destination:
            host: httpbin-other.default.svc.domain.suffix
            port:
              number: 8080
          weight: 3
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
        internal.istio.io/parents: TCPRoute/tcp.default
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 18:54:10 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top