Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsOnLocalHost (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

    // true:
    // 1) None of the job/replica/task is specified in the device name.
    // 2) The job/replica/task in the device name are explicitly specified as
    //    /job:localhost/replica:0/task:0.
    bool IsOnLocalHost(llvm::StringRef device) {
      std::string host = GetHost(device);
      return host == kLocalhost;
    }
    
    // This structure contains the metadata of the per-host function. All operations
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top