Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringCounterCellValue (0.23 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, 1);
      EXPECT_EQ(TFE_MonitoringCounterCellValue(cell), 1);
      auto* collection_registry = monitoring::CollectionRegistry::Default();
      monitoring::CollectionRegistry::CollectMetricsOptions options;
      std::unique_ptr<monitoring::CollectedMetrics> metrics =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental.cc

    }
    
    void TFE_MonitoringCounterCellIncrementBy(TFE_MonitoringCounterCell* cell,
                                              int64_t value) {
      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,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern void TFE_MonitoringCounterCellIncrementBy(
        TFE_MonitoringCounterCell* cell, int64_t value);
    
    // Retrieves the current value of the cell.
    TF_CAPI_EXPORT extern int64_t TFE_MonitoringCounterCellValue(
        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0;
    // Returns a new Counter metric object. The caller should manage lifetime of
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
Back to top