Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for threadpool (0.25 sec)

  1. tensorflow/c/c_api_experimental.cc

      // TODO(b/113217601): This is needed for EagerContext::runner_ to use a
      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note "Technische Details zu `async`"
        Wenn Sie die `async`-Methoden verwenden, führt **FastAPI** die Datei-Methoden in einem <abbr title="Mehrere unabhängige Kindprozesse">Threadpool</abbr> aus und erwartet sie.
    
    !!! note "Technische Details zu Starlette"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 17:58:08 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-files.md

    ```Python
    contents = myfile.file.read()
    ```
    
    !!! note "`async` Technical Details"
        When you use the `async` methods, **FastAPI** runs the file methods in a threadpool and awaits for them.
    
    !!! note "Starlette Technical Details"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * <pre>{@code
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }</pre>
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. docs/ru/docs/async.md

    ### Функции обработки пути
    
    Когда вы объявляете *функцию обработки пути* обычным образом с ключевым словом `def`
    вместо `async def`, FastAPI ожидает её выполнения, запустив функцию во внешнем
    <abbr title="threadpool">пуле потоков</abbr>, а не напрямую (это бы заблокировало сервер).
    
    Если ранее вы использовали другой асинхронный фреймворк, который работает иначе,
    и привыкли объявлять простые вычислительные *функции* через `def` ради
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 39.9K bytes
    - Viewed (0)
  6. fastapi/routing.py

        generate_unique_id,
        get_value_or_default,
        is_body_allowed_for_status_code,
    )
    from pydantic import BaseModel
    from starlette import routing
    from starlette.concurrency import run_in_threadpool
    from starlette.exceptions import HTTPException
    from starlette.requests import Request
    from starlette.responses import JSONResponse, Response
    from starlette.routing import (
        BaseRoute,
        Match,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

        * This allows adding extra code after a dependency is done. It can be used, for example, to close database connections.
        * Dependencies with `yield` can be normal or `async`, **FastAPI** will run normal dependencies in a threadpool.
        * They can be combined with normal dependencies.
        * It's possible to have arbitrary trees/levels of dependencies with `yield` and exit steps are handled in the correct order automatically.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  8. RELEASE.md

    *   CTC loss and decoders in `contrib/ctc`
    *   Basic support for `half` data type
    *   Better support for loading user ops (see examples in `contrib/`)
    *   Allow use of (non-blocking) Eigen threadpool with
        `TENSORFLOW_USE_EIGEN_THREADPOOL` define
    *   Add an extension mechanism for adding network file system support
    *   TensorBoard displays metadata stats (running time, memory usage and device
        used) and tensor shapes
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  9. tensorflow/BUILD

        "@zlib//:__subpackages__",
        "@dlpack//:__subpackages__",
        "@arm_neon_2_x86_sse//:__subpackages__",
        "@cpuinfo//:__subpackages__",
        "@ruy//:__subpackages__",
        "@XNNPACK//:__subpackages__",
        "@pthreadpool//:__subpackages__",
        "@FXdiv//:__subpackages__",
        "@FP16//:__subpackages__",
        "@clog//:__subpackages__",
        "@flatbuffers//:__subpackages__",
        "@nccl_archive//:__subpackages__",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top