Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for if (0.14 sec)

  1. tensorflow/c/eager/c_api_distributed_test.cc

     public:
      static bool enabled_;
      GraphErrorInjectionPass() {}
    
      tensorflow::Status Run(
          const tensorflow::GraphOptimizationPassOptions& options) override {
        if (!enabled_) {
          return absl::OkStatus();
        }
        if (first_call_) {
          first_call_ = false;
          return absl::OkStatus();
        }
        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
Back to top