Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ModelName (0.09 sec)

  1. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

        }
    
        public String modelName() {
            return modelName;
        }
    
        public StoredLtrQueryBuilder modelName(final String modelName) {
            this.modelName = Objects.requireNonNull(modelName);
            return this;
        }
    
        public String featureSetName() {
            return featureSetName;
        }
    
        public StoredLtrQueryBuilder featureSetName(final String featureSetName) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs_src/path_params/tutorial005.py

    from enum import Enum
    
    from fastapi import FastAPI
    
    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/score/LtrQueryRescorer.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String modelName = fessConfig.getLtrModelName();
            if (StringUtil.isBlank(modelName)) {
                return null;
            }
            return new QueryRescorerBuilder(new StoredLtrQueryBuilder().modelName(modelName).params(params))
                    .windowSize(fessConfig.getLtrWindowSize());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_params/test_tutorial005.py

                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
                    },
                    "ModelName": IsDict(
                        {
                            "title": "ModelName",
                            "enum": ["alexnet", "resnet", "lenet"],
                            "type": "string",
                        }
                    )
                    | IsDict(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/path-params.md

    ⤴️ ✍ *➡ 🔢* ⏮️ 🆎 ✍ ⚙️ 🔢 🎓 👆 ✍ (`ModelName`):
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### ✅ 🩺
    
    ↩️ 💪 💲 *➡ 🔢* 🔢, 🎓 🩺 💪 🎦 👫 🎆:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 👷 ⏮️ 🐍 *🔢*
    
    💲 *➡ 🔢* 🔜 *🔢 👨‍🎓*.
    
    #### 🔬 *🔢 👨‍🎓*
    
    👆 💪 🔬 ⚫️ ⏮️ *🔢 👨‍🎓* 👆 ✍ 🔢 `ModelName`:
    
    ```Python hl_lines="17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. cmd/veeam-sos-api.go

    var globalVeeamForceSC = os.Getenv("_MINIO_VEEAM_FORCE_SC")
    
    type systemInfo struct {
    	XMLName              xml.Name `xml:"SystemInfo" json:"-"`
    	ProtocolVersion      string   `xml:"ProtocolVersion"`
    	ModelName            string   `xml:"ModelName"`
    	ProtocolCapabilities struct {
    		CapacityInfo   bool `xml:"CapacityInfo"`
    		UploadSessions bool `xml:"UploadSessions"`
    		IAMSTS         bool `xml:"IAMSTS"`
    	} `mxl:"ProtocolCapabilities"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    ///
    
    ### Declare a *path parameter*
    
    Then create a *path parameter* with a type annotation using the enum class you created (`ModelName`):
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Check the docs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    ///
    
    ### Declara un *parámetro de path*
    
    Luego, crea un *parámetro de path* con anotaciones de tipos usando la clase enum que creaste (`ModelName`):
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### Revisa la documentación
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/path-params.md

    ///
    
    ### 声明*路径参数*
    
    使用 Enum 类(`ModelName`)创建使用类型注解的*路径参数*:
    
    ```Python hl_lines="16"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    ### 查看文档
    
     API 文档会显示预定义*路径参数*的可用值:
    
    <img src="/img/tutorial/path-params/image03.png">
    
    ### 使用 Python _枚举类型_
    
    *路径参数*的值是枚举的元素。
    
    #### 比较*枚举元素*
    
    枚举类 `ModelName` 中的*枚举元素*支持比较操作:
    
    ```Python hl_lines="17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top