Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 688 for Floats (0.11 sec)

  1. docs/em/docs/tutorial/body-nested-models.md

        }
    }
    ```
    
    ๐Ÿ”„, ๐Ÿคธ ๐Ÿ‘ˆ ๐Ÿ“„, โฎ๏ธ **FastAPI** ๐Ÿ‘† ๐Ÿคš:
    
    * ๐Ÿ‘จโ€๐ŸŽจ ๐Ÿ•โ€๐Ÿฆบ (๐Ÿ› ๏ธ, โ™’๏ธ), ๐Ÿฆ ๐Ÿท
    * ๐Ÿ’ฝ ๐Ÿ› ๏ธ
    * ๐Ÿ’ฝ ๐Ÿ”ฌ
    * ๐Ÿง ๐Ÿงพ
    
    ## ๐ŸŽ ๐Ÿ†Ž & ๐Ÿ”ฌ
    
    โ†–๏ธ โšช๏ธโžก๏ธ ๐Ÿ˜ โญ ๐Ÿ†Ž ๐Ÿ’– `str`, `int`, `float`, โ™’๏ธ. ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐ŸŒ… ๐Ÿ— โญ ๐Ÿ†Ž ๐Ÿ‘ˆ ๐Ÿ˜– โšช๏ธโžก๏ธ `str`.
    
    ๐Ÿ‘€ ๐ŸŒ ๐ŸŽ› ๐Ÿ‘† โœ”๏ธ, ๐Ÿ›’ ๐Ÿฉบ <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic ๐Ÿ˜ ๐Ÿ†Ž</a>. ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ‘€ ๐Ÿ–ผ โญ ๐Ÿ“ƒ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFileConfigCQ.java

        }
    
        public void setBoost_Equal(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setBoost_Term(boost, opLambda);
        }
    
        public void setBoost_Term(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 165.3K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/resources/mapping/queue.json

          "depth": {
            "type": "integer"
          },
          "parentUrl": {
            "type": "keyword"
          },
          "method": {
            "type": "keyword"
          },
          "weight": {
            "type": "float"
          },
          "createTime": {
            "type": "long"
          },
          "lastModified": {
            "type": "long"
          },
          "sessionId": {
            "type": "keyword"
          },
          "url": {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 457 bytes
    - Viewed (0)
  4. src/main/config/es/fess_config_elevate_word.json

    {
      "fess_config.elevate_word" : {
        "aliases" : { },
        "mappings" : {
          "elevate_word" : {
            "properties" : {
              "boost" : {
                "type" : "float"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "permissions" : {
                "type" : "keyword"
              },
              "reading" : {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. tensorflow/c/c_test_util.h

    // Create 1 dimensional tensor with values from `values`
    TF_Tensor* Int32Tensor(const std::vector<int32_t>& values);
    
    TF_Tensor* Int32Tensor(int32_t v);
    
    TF_Tensor* DoubleTensor(double v);
    
    TF_Tensor* FloatTensor(float v);
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

                               &out_components, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        ExpectScalarEq<float>(out_components[0].get(), 9.);
        ExpectScalarEq<float>(out_components[1].get(), 4.);
      }
    
      worker_server1.release();
      worker_server2.release();
    }
    }  // namespace parallel_device
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 07:18:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs_src/generate_clients/tutorial001_py39.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=list[Item])
    async def get_items():
        return [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 494 bytes
    - Viewed (0)
  8. docs_src/generate_clients/tutorial001.py

    from typing import List
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    @app.post("/items/", response_model=ResponseMessage)
    async def create_item(item: Item):
        return {"message": "item received"}
    
    
    @app.get("/items/", response_model=List[Item])
    async def get_items():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 519 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

                docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
            }
    
            if (!docMap.containsKey(Constants.SCORE)) {
                final float score = searchHit.getScore();
                if (Float.isFinite(score)) {
                    docMap.put(Constants.SCORE, score);
                }
            }
    
            if (!docMap.containsKey(fessConfig.getIndexFieldId())) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 06:56:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tests/test_validate_response_dataclass.py

    from fastapi.testclient import TestClient
    from pydantic.dataclasses import dataclass
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top