- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for QueueRunner (0.14 sec)
-
tensorflow/cc/training/queue_runner.cc
namespace tensorflow { Status QueueRunner::New(const QueueRunnerDef& queue_runner_def, std::unique_ptr<QueueRunner>* result) { result->reset(new QueueRunner()); return (*result)->Init(queue_runner_def); } Status QueueRunner::New(const QueueRunnerDef& queue_runner_def, Coordinator* coord, std::unique_ptr<QueueRunner>* result) { result->reset(new QueueRunner());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:30:37 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner.h
#include "tensorflow/core/public/session.h" namespace tensorflow { /// QueueRunner class imitates the behavior of the python version of QueueRunner /// which creates a thread for each enqueue op, runs close op on completion. class QueueRunner : public RunnerInterface { public: /// Creates a new QueueRunner from proto. // TODO(yuefengz): we may want to initialize from queues and ops in the // future.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 31 18:27:00 UTC 2022 - 5K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner_test.cc
{Code::OUT_OF_RANGE, Code::CANCELLED}); Coordinator coord; std::unique_ptr<QueueRunner> qr0; TF_EXPECT_OK(QueueRunner::New(queue_runner0, &coord, &qr0)); TF_CHECK_OK(qr0->Start(session.get())); std::unique_ptr<QueueRunner> qr1; TF_EXPECT_OK(QueueRunner::New(queue_runner1, &coord, &qr1)); TF_CHECK_OK(qr1->Start(session.get()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 21 06:27:51 UTC 2019 - 14.7K bytes - Viewed (0) -
tensorflow/cc/training/coordinator.h
/// otherwise the QueueRunner::Join() could sometimes hang. The /// Coordinator::RequestStop() plays the key role which notifies all running /// threads under a coordinator to stop. This function could be called by any /// thread or any client. /// Usage, in the client: /// Coordinator coord; /// std::unique_ptr<QueueRunner> qr(&coord, ...); /// qr.Start(session);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 4.4K bytes - Viewed (0)