Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for ml (0.16 sec)

  1. tests/test_tutorial/test_events/test_tutorial003.py

    from docs_src.events.tutorial003 import (
        app,
        fake_answer_to_everything_ml_model,
        ml_models,
    )
    
    
    def test_events():
        assert not ml_models, "ml_models should be empty"
        with TestClient(app) as client:
            assert ml_models["answer_to_everything"] == fake_answer_to_everything_ml_model
            response = client.get("/predict", params={"x": 2})
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs_src/events/tutorial003.py

    from fastapi import FastAPI
    
    
    def fake_answer_to_everything_ml_model(x: float):
        return x * 42
    
    
    ml_models = {}
    
    
    @asynccontextmanager
    async def lifespan(app: FastAPI):
        # Load the ML model
        ml_models["answer_to_everything"] = fake_answer_to_everything_ml_model
        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Mar 07 15:46:00 GMT 2023
    - 569 bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    					})
    				}
    			}
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedGetOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.GetTotal),
    			})
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedHeadOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.HeadTotal),
    			})
    			ml = append(ml, MetricV2{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 21:22:15 GMT 2024
    - 132.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

            }
    
            ASN1ObjectIdentifier[] lm = this.mechs;
            byte[] ml = encodeMechs(lm);
            byte[] mechanismListMIC = this.mechContext.calculateMIC(ml);
            if ( log.isDebugEnabled() ) {
                log.debug("Out Mech list " + Arrays.toString(lm));
                log.debug("Out Mech list encoded " + Hexdump.toHexString(ml));
                log.debug("Out Mech list MIC " + Hexdump.toHexString(mechanismListMIC));
            }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  5. .zenodo.json

        "license": "Apache-2.0",
        "title": "TensorFlow",
        "upload_type": "software",
        "creators": [
            {
                "name": "TensorFlow Developers"
            }
        ],
    Json
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue May 18 19:19:25 GMT 2021
    - 741 bytes
    - Viewed (0)
  6. CONTRIBUTING.md

      + Make sure you fill in the earliest version that you know has the issue.
    + Fork the repository on GitHub.
    
    Making and Submitting Changes
    --------------
    
    We accept Pull Requests via GitHub. The [developer mailing list][dev-ml-list] is the
    main channel of communication for contributors.  
    There are some guidelines which will make applying PRs easier for us:
    + Create a topic branch from where you want to base your work (this is usually the master branch).
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 10 09:48:27 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  7. src/main/webapp/css/admin/bootstrap.min.css

    -right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!impor...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 155.8K bytes
    - Viewed (0)
  8. docs/language_names.yml

    lb: Lëtzebuergesch
    lg: Luganda
    li: Limburgs
    ln: Lingála
    lo: ພາສາ
    lt: lietuvių kalba
    lu: Tshiluba
    lv: latviešu valoda
    mg: fiteny malagasy
    mh: Kajin M̧ajeļ
    mi: te reo Māori
    mk: македонски јазик
    ml: മലയാളം
    mn: Монгол хэл
    mr: मराठी
    ms: Bahasa Malaysia
    mt: Malti
    my: ဗမာစာ
    na: Ekakairũ Naoero
    nb: Norsk bokmål
    nd: isiNdebele
    ne: नेपाली
    ng: Owambo
    nl: Nederlands
    nn: Norsk nynorsk
    Others
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:42:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/webapp/css/bootstrap.min.css

    -right:0!important}.mb-0,.my-0{margin-bottom:0!important}.ml-0,.mx-0{margin-left:0!important}.m-1{margin:.25rem!important}.mt-1,.my-1{margin-top:.25rem!important}.mr-1,.mx-1{margin-right:.25rem!important}.mb-1,.my-1{margin-bottom:.25rem!important}.ml-1,.mx-1{margin-left:.25rem!important}.m-2{margin:.5rem!important}.mt-2,.my-2{margin-top:.5rem!important}.mr-2,.mx-2{margin-right:.5rem!important}.mb-2,.my-2{margin-bottom:.5rem!important}.ml-2,.mx-2{margin-left:.5rem!important}.m-3{margin:1rem!impor...
    CSS
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Wed Dec 25 08:05:52 GMT 2019
    - 155.8K bytes
    - Viewed (0)
  10. docs/en/data/external_links.yml

      - author: Kaustubh Gupta
        author_link: https://medium.com/@kaustubhgupta1828/
        link: https://www.analyticsvidhya.com/blog/2021/06/deploying-ml-models-as-api-using-fastapi-and-heroku/
        title: Deploying ML Models as API Using FastAPI and Heroku
      - link: https://jarmos.netlify.app/posts/using-github-actions-to-deploy-a-fastapi-project-to-heroku/
    Others
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 21 20:57:27 GMT 2024
    - 21.3K bytes
    - Viewed (2)
Back to top