Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CheckpointReadDuration (0.29 sec)

  1. tensorflow/cc/saved_model/metrics_test.cc

      SavedModelReadCount("2").IncrementBy(1);
      EXPECT_EQ(SavedModelReadCount("2").value(), 2);
    }
    
    TEST(MetricsTest, TestCheckpointRead) {
      EXPECT_EQ(CheckpointReadDuration("foo").value().num(), 0);
      CheckpointReadDuration("foo").Add(100);
      EXPECT_EQ(CheckpointReadDuration("foo").value().num(), 1);
    }
    
    TEST(MetricsTest, TestCheckpointWrite) {
      EXPECT_EQ(CheckpointWriteDuration("foo").value().num(), 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/metrics.h

    monitoring::GaugeCell<std::string>& SavedModelFoundFingerprintOnLoad();
    
    // Returns "/tensorflow/core/checkpoint/read/read_durations" cell belonging to
    // field `api_label`.
    monitoring::SamplerCell& CheckpointReadDuration(absl::string_view api_label);
    
    // Returns "/tensorflow/core/checkpoint/write/write_durations" cell belonging to
    // field `api_label`.
    monitoring::SamplerCell& CheckpointWriteDuration(absl::string_view api_label);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/metrics.cc

    }
    
    monitoring::GaugeCell<std::string>& SavedModelFoundFingerprintOnLoad() {
      return *saved_model_found_fingerprint_on_load->GetCell();
    }
    
    monitoring::SamplerCell& CheckpointReadDuration(absl::string_view api_label) {
      return *checkpoint_read_durations->GetCell(std::string(api_label));
    }
    
    monitoring::SamplerCell& CheckpointWriteDuration(absl::string_view api_label) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top