- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 52 for threadPool (0.23 sec)
-
tensorflow/compiler/jit/device_compiler.h
#include "tensorflow/compiler/tf2xla/xla_compiler.h" #include "xla/client/local_client.h" #include "tensorflow/core/framework/metrics.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/thread_annotations.h" namespace tensorflow { // Compiles/lowers a given Tensorflow graph/function/cluster into a compiled XLA
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/cc/experimental/base/public/runtime_builder.h
namespace tensorflow { namespace experimental { namespace cc { // RuntimeBuilder is a builder used to construct a tensorflow::cc::Runtime. // Use this to set configuration options, like threadpool size, etc. class RuntimeBuilder { public: RuntimeBuilder() : options_(TFE_NewContextOptions()) {} // If `use_tfrt` is true, we will use the new Tensorflow Runtime
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 12 19:37:48 UTC 2020 - 3K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
On top of that, an async framework could run some sync code in a threadpool (using `asyncio.run_in_executor`), but belonging to the same request.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Jan 16 13:23:25 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/cc/client/client_session.h
const std::vector<Operation>& run_outputs, std::vector<Tensor>* outputs, RunMetadata* run_metadata) const; /// Same as above. Additionally allows user to provide custom threadpool /// implementation via ThreadPoolOptions. Status Run(const RunOptions& run_options, const FeedType& inputs, const std::vector<Output>& fetch_outputs, const std::vector<Operation>& run_outputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 20 08:11:46 UTC 2022 - 6.1K bytes - Viewed (0) -
docs/fr/docs/async.md
### Fonctions de chemin Quand vous déclarez une *fonction de chemin* avec un `def` normal et non `async def`, elle est exécutée dans un groupe de threads (threadpool) externe qui est ensuite attendu, plutôt que d'être appelée directement (car cela bloquerait le serveur).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Mar 31 23:52:53 UTC 2024 - 24K bytes - Viewed (0) -
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
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.cc
} } int nthreads = runs_; if (coord_) { // One more thread to call Stop() nthreads++; } thread_pool_.reset(new thread::ThreadPool( Env::Default(), SanitizeThreadSuffix(queue_name_), nthreads)); return absl::OkStatus(); } QueueRunner::~QueueRunner() { // Cannot run Stop() here because the session might already be closed or
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 7K bytes - Viewed (0) -
docs/de/docs/async.md
### Pfadoperation-Funktionen Wenn Sie eine *Pfadoperation-Funktion* mit normalem `def` anstelle von `async def` deklarieren, wird sie in einem externen Threadpool ausgeführt, der dann `await`et wird, anstatt direkt aufgerufen zu werden (da dies den Server blockieren würde).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:06:16 UTC 2024 - 26.6K bytes - Viewed (0) -
docs/en/docs/async.md
### Path operation functions When you declare a *path operation function* with normal `def` instead of `async def`, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 00:24:48 UTC 2024 - 23K bytes - Viewed (0) -
docs/es/docs/async.md
### Path operation functions Cuando declaras una *path operation function* con `def` normal en lugar de `async def`, se ejecuta en un threadpool externo que luego es "<abbr title="En español: esperado. Usando await.">awaited</abbr>", en lugar de ser llamado directamente (ya que bloquearía el servidor).
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 24.9K bytes - Viewed (0)