Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for predicate (0.07 seconds)

  1. RELEASE.md

            and `Model.predict()` to `"auto"`, which defaults to `verbose=1` for
            most cases and defaults to `verbose=2` when used with
            `ParameterServerStrategy` or with interactive logging disabled.
        *   Argument `jit_compile` in `Model.compile()` now applies to
            `Model.evaluate()` and `Model.predict()`. Setting `jit_compile=True` in
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  2. docs/en/docs/release-notes.md

        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
        return {"result": result}
    ```
    
    **Note**: This is the recommended way going forward, instead of using `startup` and `shutdown` events.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top