Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for TFE_MonitoringNewCounter0 (0.44 seconds)

  1. tensorflow/c/eager/c_api_experimental_reader_test.cc

      CHECK_EQ(actual, 1);
    }
    
    TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0(counter_name, status, "description");
      TF_DeleteStatus(status);
      return counter;
    }
    
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    Ashitesh Singh <******@****.***> 1763437120 +0530
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 03:41:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      EXPECT_TRUE(ok) << base << ", expected substring " << substr;
      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0("test/counter", status, "description");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 09 05:56:18 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_experimental_reader.cc

    Ashitesh Singh <******@****.***> 1763437120 +0530
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Nov 20 03:41:38 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  5. tensorflow/c/eager/c_api_experimental.cc

      cell->cell.IncrementBy(value);
    }
    
    int64_t TFE_MonitoringCounterCellValue(TFE_MonitoringCounterCell* cell) {
      return cell->cell.value();
    }
    
    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
                                                      TF_Status* status,
                                                      const char* description) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  6. tensorflow/c/eager/c_api_experimental.h

    // Returns a new Counter metric object. The caller should manage lifetime of
    // the object. Using duplicate metric name will crash the program with fatal
    // error.
    TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
        const char* name, TF_Status* status, const char* description);
    // Deletes the Counter object.
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteCounter0(
        TFE_MonitoringCounter0* counter);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
Back to Top