Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 37 for _Op_name (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/settings/app02_py310/test_main.py

    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 515 bytes
    - Click Count (0)
  2. docs/ko/docs/advanced/settings.md

    /// tip | 팁
    
    빠르게 복사/붙여넣기할 예시가 필요하다면, 이 예시는 사용하지 말고 아래의 마지막 예시를 사용하세요.
    
    ///
    
    그 다음, 해당 `Settings` 클래스의 인스턴스(여기서는 `settings` 객체)를 생성하면 Pydantic이 대소문자를 구분하지 않고 환경 변수를 읽습니다. 따라서 대문자 변수 `APP_NAME`도 `app_name` 속성에 대해 읽힙니다.
    
    이후 데이터를 변환하고 검증합니다. 그래서 그 `settings` 객체를 사용할 때는 선언한 타입의 데이터를 갖게 됩니다(예: `items_per_user`는 `int`가 됩니다).
    
    ### `settings` 사용하기 { #use-the-settings }
    
    이제 애플리케이션에서 새 `settings` 객체를 사용할 수 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/settings.md

    然後它會轉換並驗證資料。因此,當你使用該 `settings` 物件時,你會得到你宣告的型別的資料(例如 `items_per_user` 會是 `int`)。
    
    ### 使用 `settings` { #use-the-settings }
    
    接著你可以在應用程式中使用新的 `settings` 物件:
    
    {* ../../docs_src/settings/tutorial001_py310.py hl[18:20] *}
    
    ### 執行伺服器 { #run-the-server }
    
    接下來,你可以在啟動伺服器時,將設定以環境變數傳入。舉例來說,你可以設定 `ADMIN_EMAIL` 與 `APP_NAME`:
    
    <div class="termy">
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  4. tensorflow/c/c_api_experimental.cc

      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
      return new TF_AttrBuilder(op_name);
    }
    
    void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; }
    
    void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  5. android-test-app/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">android-test</string>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 73 bytes
    - Click Count (0)
  6. regression-test/src/main/res/values/strings.xml

    <resources>
      <string name="app_name">regression-test</string>
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 76 bytes
    - Click Count (0)
  7. docs_src/settings/app01_py310/config.py

    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 183 bytes
    - Click Count (0)
  8. docs_src/settings/app03_py310/config.py

    from pydantic_settings import BaseSettings, SettingsConfigDict
    
    
    class Settings(BaseSettings):
        app_name: str = "Awesome API"
        admin_email: str
        items_per_user: int = 50
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 235 bytes
    - Click Count (0)
  9. tensorflow/c/eager/c_api_unified_experimental.cc

      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Reset(op_type,
                               /*raw_device_name=*/nullptr));
    }
    
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s) {
      TracingOperation* tracing_op = dyn_cast<TracingOperation>(unwrap(op));
      if (!tracing_op) {
        tsl::Set_TF_Status_from_Status(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 9K bytes
    - Click Count (0)
  10. tensorflow/c/c_api_experimental.h

    // needs to be updated with the argument length of the input list.
    // Returns nullptr if there is any problem like op_name is not found, or the
    // argument does not support this attribute type.
    TF_CAPI_EXPORT extern const char* TF_GetNumberAttrForOpListInput(
        const char* op_name, int input_index, TF_Status* status);
    
    // Returns 1 if the op is stateful, 0 otherwise. The return value is undefined
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Click Count (0)
Back to Top