Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for modelName (0.1 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

    
    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. 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)
  4. 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)
  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. docs/de/docs/tutorial/path-params.md

    #### *Enum-Member* vergleichen
    
    Sie kรถnnen ihn mit einem Member Ihres Enums `ModelName` vergleichen:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### *Enum-Wert* erhalten
    
    Den tatsรคchlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `ihr_enum_member.value`:
    
    ```Python hl_lines="20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    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

    #### Compara *enumeration members*
    
    Puedes compararlo con el *enumeration member* en el enum (`ModelName`) que creaste:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Obtรฉn el *enumeration value*
    
    Puedes obtener el valor exacto (un `str` en este caso) usando `model_name.value`, o en general, `your_enum_member.value`:
    
    ```Python hl_lines="20"
    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. 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)
  10. docs/ko/docs/tutorial/path-params.md

    ### ํŒŒ์ด์ฌ *์—ด๊ฑฐํ˜•*์œผ๋กœ ์ž‘์—…ํ•˜๊ธฐ
    
    *๊ฒฝ๋กœ ๋งค๊ฐœ๋ณ€์ˆ˜*์˜ ๊ฐ’์€ *์—ด๊ฑฐํ˜• ๋ฉค๋ฒ„*๊ฐ€ ๋ฉ๋‹ˆ๋‹ค.
    
    #### *์—ด๊ฑฐํ˜• ๋ฉค๋ฒ„* ๋น„๊ต
    
    ์—ด๊ฑฐํ˜• `ModelName`์˜ *์—ด๊ฑฐํ˜• ๋ฉค๋ฒ„*๋ฅผ ๋น„๊ตํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="17"
    {!../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### *์—ด๊ฑฐํ˜• ๊ฐ’* ๊ฐ€์ ธ์˜ค๊ธฐ
    
    `model_name.value` ๋˜๋Š” ์ผ๋ฐ˜์ ์œผ๋กœ `your_enum_member.value`๋ฅผ ์ด์šฉํ•˜์—ฌ ์‹ค์ œ ๊ฐ’(์œ„ ์˜ˆ์‹œ์˜ ๊ฒฝ์šฐ `str`)์„ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:
    
    ```Python hl_lines="20"
    {!../../docs_src/path_params/tutorial005.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top