Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for ModelName (0.06 seconds)

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

         * @return The model name.
         */
        public String modelName() {
            return modelName;
        }
    
        /**
         * Sets the name of the LTR model.
         *
         * @param modelName The model name.
         * @return This query builder.
         */
        public StoredLtrQueryBuilder modelName(final String modelName) {
            this.modelName = Objects.requireNonNull(modelName);
            return this;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. 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());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. 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"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/path-params.md

    ///
    
    ### Declare a *path parameter* { #declare-a-path-parameter }
    
    Then create a *path parameter* with a type annotation using the enum class you created (`ModelName`):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### Check the docs { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/path-params.md

    #### 比较枚举成员 { #compare-enumeration-members }
    
    可以将其与枚举类 `ModelName` 中的枚举成员进行比较:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    #### 获取枚举值 { #get-the-enumeration-value }
    
    使用 `model_name.value` 或通用的 `your_enum_member.value` 获取实际的值(本例中为 `str`):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip | 提示
    
    使用 `ModelName.lenet.value` 也能获取值 `"lenet"`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/path-params.md

    #### 比較「列舉成員」 { #compare-enumeration-members }
    
    你可以把它與你建立的列舉 `ModelName` 中的「列舉成員」比較:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    #### 取得「列舉值」 { #get-the-enumeration-value }
    
    你可以用 `model_name.value` 取得實際的值(在這個例子中是 `str`),一般而言就是 `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip
    
    你也可以用 `ModelName.lenet.value` 取得值 `"lenet"`。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  7. docs_src/path_params/tutorial005_py310.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":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 546 bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/path-params.md

    ///
    
    ### Declarar un *path parameter* { #declare-a-path-parameter }
    
    Luego crea un *path parameter* con una anotación de tipo usando la clase enum que creaste (`ModelName`):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### Revisa la documentación { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/path-params.md

    ///
    
    ### Bir *Path Parameter* Tanımlayalım { #declare-a-path-parameter }
    
    Ardından oluşturduğunuz enum sınıfını (`ModelName`) kullanarak tip belirteciyle bir *path parameter* oluşturun:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### Dokümana Göz Atalım { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/path-params.md

    ///
    
    ### Declare um parâmetro de path { #declare-a-path-parameter }
    
    Em seguida, crie um *parâmetro de path* com anotação de tipo usando a classe enum que você criou (`ModelName`):
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[16] *}
    
    ### Verifique a documentação { #check-the-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
Back to Top