Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_MonitoringBoolGaugeCellSet (1.33 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

          TFE_MonitoringNewBoolGauge1("test/gauge1", status, "test", "label1");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell1 = TFE_MonitoringGetCellBoolGauge1(gauge1, "foo");
      TFE_MonitoringBoolGaugeCellSet(cell1, true);
      EXPECT_TRUE(TFE_MonitoringBoolGaugeCellValue(cell1));
      TFE_MonitoringDeleteBoolGauge1(gauge1);
    
      auto* gauge2 = TFE_MonitoringNewStringGauge2("test/gauge2", status, "test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

        const char* label3, const char* label4) {
      return static_cast<TFE_MonitoringStringGaugeCell*>(static_cast<void*>(
          gauge->gauge->GetCell(label1, label2, label3, label4)));
    }
    
    void TFE_MonitoringBoolGaugeCellSet(TFE_MonitoringBoolGaugeCell* cell,
                                        bool value) {
      cell->cell.Set(value);
    }
    
    bool TFE_MonitoringBoolGaugeCellValue(TFE_MonitoringBoolGaugeCell* cell) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 23:52:39 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

                                      const char* label3, const char* label4);
    
    typedef struct TFE_MonitoringBoolGaugeCell TFE_MonitoringBoolGaugeCell;
    TF_CAPI_EXPORT extern void TFE_MonitoringBoolGaugeCellSet(
        TFE_MonitoringBoolGaugeCell* cell, bool value);
    TF_CAPI_EXPORT extern bool TFE_MonitoringBoolGaugeCellValue(
        TFE_MonitoringBoolGaugeCell* cell);
    
    // APIs for Bool Gauge without label.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top