Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cg_mu_ (0.15 sec)

  1. tensorflow/cc/training/queue_runner.cc

      if (!cg_mu_) {
        return Status(absl::StatusCode::kFailedPrecondition,
                      "This QueueRunner doesn't collect a cost graph.");
      }
      mutex_lock l(*cg_mu_);
      cost_graph->MergeFrom(*cost_graph_);
      return absl::OkStatus();
    }
    
    void QueueRunner::SetRunArgumentsAndCostGraph(const RunOptions& run_options) {
      cg_mu_.reset(new mutex());
      {
        mutex_lock l(*cg_mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/cc/training/queue_runner.h

      std::unique_ptr<BlockingCounter> counter_;
    
      Coordinator* coord_;
    
      std::atomic<bool> stopped_;
    
      mutex cb_mu_;
      std::vector<std::function<void(Status)>> callbacks_;
    
      mutable std::unique_ptr<mutex> cg_mu_;
      std::unique_ptr<CostGraphDef> cost_graph_ TF_GUARDED_BY(cg_mu_);
      RunOptions run_options_;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 31 18:27:00 UTC 2022
    - 5K bytes
    - Viewed (0)
Back to top