- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StartAndCollectCostGraph (0.21 sec)
-
tensorflow/cc/training/queue_runner.h
Status StartAndCollectCostGraph(Session* sess, const RunOptions& run_options = RunOptions()); /// Starts the queue runner with the given session, and wait for up to the /// specified time (in milliseconds) for the queues to start to fill up. Status Start(Session* sess, int wait_for_ms); Status StartAndCollectCostGraph(Session* session, int wait_for_ms,
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.cc
// Cannot run Stop() here because the session might already be closed or // destroyed. Join().IgnoreError(); } Status QueueRunner::Start(Session* sess) { return Start(sess, 0); } Status QueueRunner::StartAndCollectCostGraph(Session* sess, const RunOptions& run_options) { SetRunArgumentsAndCostGraph(run_options); return Start(sess, 0); }
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_test.cc
BuildQueueRunnerDef(kQueueName, {kEnqueueOp0}, kCloseOp0, kCancelOp0, {}); std::unique_ptr<QueueRunner> qr; TF_EXPECT_OK(QueueRunner::New(queue_runner_def, &qr)); RunOptions run_options; TF_CHECK_OK(qr->StartAndCollectCostGraph(session.get(), run_options)); // Make sure there was at least one element enqueued in q0: this prevents a // race condition where we close the queue before it was populated. std::vector<Tensor> dq0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 21 06:27:51 UTC 2019 - 14.7K bytes - Viewed (0)