Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for Shape (0.22 seconds)

  1. RELEASE.md

            `max_batch_size` for building TensorRT engines. Add parameters
            `use_dynamic_shape` to enable dynamic shape support. The default is to
            disable dynamic shape support. Add `dynamic_shape_profile_strategy` for
            selecting a dynamic shape profile strategy. The default is profile
            strategy is `Range`.
        *   Issue a warning when function get_tensorrt_rewriter_config is used.
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  2. src/main/webapp/js/purify.min.js

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/first-steps.md

    This schema definition includes your API paths, the possible parameters they take, etc.
    
    #### Data "schema" { #data-schema }
    
    The term "schema" might also refer to the shape of some data, like a JSON content.
    
    In that case, it would mean the JSON attributes, and data types they have, etc.
    
    #### OpenAPI and JSON Schema { #openapi-and-json-schema }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  4. scripts/doc_parsing_utils.py

    ) -> list[str]:
        """
        Update each code block in `text` with the corresponding code block from
        `original_code_blocks` with comments taken from `code_blocks`.
    
        Raises ValueError if the number, language, or shape of code blocks do not match.
        """
    
        if len(code_blocks) != len(original_code_blocks):
            raise ValueError(
                "Number of code blocks does not match the number in the original document "
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/sql-databases.md

    For example, if you declare a parameter of type `Hero`, it will be read from the **JSON body**.
    
    The same way, you can declare it as the function's **return type**, and then the shape of the data will show up in the automatic API docs UI.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[40:45] hl[40:45] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    在這個例外中,我們把所需的 scopes(若有)以空白分隔的字串形式(透過 `scope_str`)加入,並將該包含 scopes 的字串放在 `WWW-Authenticate` 標頭中(這是規格的一部分)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## 驗證 `username` 與資料結構 { #verify-the-username-and-data-shape }
    
    我們先確認取得了 `username`,並取出 scopes。
    
    接著用 Pydantic 模型驗證這些資料(捕捉 `ValidationError` 例外),若在讀取 JWT token 或用 Pydantic 驗證資料時出錯,就丟出先前建立的 `HTTPException`。
    
    為此,我們更新了 Pydantic 模型 `TokenData`,加入新屬性 `scopes`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/security/oauth2-scopes.md

    在这个异常中,我们包含所需的作用域(如果有的话),以空格分隔的字符串(使用 `scope_str`)。我们把这个包含作用域的字符串放在 `WWW-Authenticate` 响应头中(这是规范要求的一部分)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## 校验 `username` 与数据形状 { #verify-the-username-and-data-shape }
    
    我们校验是否获取到了 `username`,并提取作用域。
    
    然后使用 Pydantic 模型验证这些数据(捕获 `ValidationError` 异常),如果读取 JWT 令牌或用 Pydantic 验证数据时出错,就抛出我们之前创建的 `HTTPException`。
    
    为此,我们给 Pydantic 模型 `TokenData` 添加了一个新属性 `scopes`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/security/oauth2-scopes.md

    この例外には、要求されたスコープがあればそれらを空白区切りの文字列(`scope_str` を使用)として含めます。このスコープ文字列は `WWW-Authenticate` ヘッダに入れます(仕様の一部です)。
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## `username` とデータ構造の検証 { #verify-the-username-and-data-shape }
    
    `username` を取得できていることを確認し、スコープを取り出します。
    
    そして、そのデータを Pydantic モデルで検証します(`ValidationError` 例外を捕捉)。JWT トークンの読み取りや Pydantic によるデータ検証でエラーが発生した場合は、先ほど作成した `HTTPException` を送出します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. docs/tr/docs/python-types.md

    "`one_person`, `Person` adlı **class**'tır" anlamına gelmez.
    
    ## Pydantic modelleri { #pydantic-models }
    
    [Pydantic](https://docs.pydantic.dev/), data validation yapmak için bir Python kütüphanesidir.
    
    Verinin "shape"'ini attribute'lara sahip sınıflar olarak tanımlarsınız.
    
    Ve her attribute'un bir tipi vardır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/security/oauth2-scopes.md

    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Den `username` und das Format der Daten überprüfen { #verify-the-username-and-data-shape }
    
    Wir verifizieren, dass wir einen `username` erhalten, und extrahieren die Scopes.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 15.7K bytes
    - Click Count (0)
Back to Top